The public API function BIOnewNDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by end user applications. The function receives a BIO from the caller, prepends a new BIOfasn1 filter BIO onto the front of it to form a BIO chain, and then returns the new head of the BIO chain to the caller. Under certain conditions, for example if a CMS recipient public key is invalid, the new filter BIO is freed and the function returns a NULL result indicating a failure. However, in this case, the BIO chain is not properly cleaned up and the BIO passed by the caller still retains internal pointers to the previously freed filter BIO. If the caller then goes on to call BIOpop() on the BIO then a use-after-free will occur. This will most likely result in a crash. This scenario occurs directly in the internal function B64writeASN1() which may cause BIOnewNDEF() to be called and will subsequently call BIOpop() on the BIO. This internal function is in turn called by the public API functions PEMwritebioASN1stream, PEMwritebioCMSstream, PEMwritebioPKCS7stream, SMIMEwriteASN1, SMIMEwriteCMS and SMIMEwritePKCS7. Other public API functions that may be impacted by this include i2dASN1biostream, BIOnewCMS, BIOnewPKCS7, i2dCMSbiostream and i2dPKCS7bio_stream. The OpenSSL cms and smime command line applications are similarly affected.
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libcrypto1.0.0-udeb" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libcrypto1.0.0-udeb-dbgsym" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libssl-dev" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libssl-dev-dbgsym" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libssl-doc" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libssl1.0.0" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libssl1.0.0-dbg" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libssl1.0.0-dbgsym" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libssl1.0.0-udeb" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "libssl1.0.0-udeb-dbgsym" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "openssl" }, { "binary_version": "1.0.1f-1ubuntu2.27+esm6", "binary_name": "openssl-dbgsym" } ] }
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libcrypto1.0.0-udeb" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libcrypto1.0.0-udeb-dbgsym" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libssl-dev" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libssl-dev-dbgsym" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libssl-doc" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libssl1.0.0" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libssl1.0.0-dbg" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libssl1.0.0-dbgsym" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libssl1.0.0-udeb" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "libssl1.0.0-udeb-dbgsym" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "openssl" }, { "binary_version": "1.0.2g-1ubuntu4.20+esm6", "binary_name": "openssl-dbgsym" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libcrypto1.0.0-udeb" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libcrypto1.0.0-udeb-dbgsym" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl-dev" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl-dev-dbgsym" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl-doc" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl1.0.0" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl1.0.0-dbg" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl1.0.0-dbgsym" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl1.0.0-hmac" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl1.0.0-hmac-dbgsym" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl1.0.0-udeb" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "libssl1.0.0-udeb-dbgsym" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "openssl" }, { "binary_version": "1.0.2g-1ubuntu4.fips.4.20.6", "binary_name": "openssl-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.1.1-1ubuntu2.1~18.04.21", "binary_name": "libcrypto1.1-udeb" }, { "binary_version": "1.1.1-1ubuntu2.1~18.04.21", "binary_name": "libssl-dev" }, { "binary_version": "1.1.1-1ubuntu2.1~18.04.21", "binary_name": "libssl-doc" }, { "binary_version": "1.1.1-1ubuntu2.1~18.04.21", "binary_name": "libssl1.1" }, { "binary_version": "1.1.1-1ubuntu2.1~18.04.21", "binary_name": "libssl1.1-dbgsym" }, { "binary_version": "1.1.1-1ubuntu2.1~18.04.21", "binary_name": "libssl1.1-udeb" }, { "binary_version": "1.1.1-1ubuntu2.1~18.04.21", "binary_name": "openssl" }, { "binary_version": "1.1.1-1ubuntu2.1~18.04.21", "binary_name": "openssl-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.0.2n-1ubuntu5.11", "binary_name": "libcrypto1.0.0-udeb" }, { "binary_version": "1.0.2n-1ubuntu5.11", "binary_name": "libssl1.0-dev" }, { "binary_version": "1.0.2n-1ubuntu5.11", "binary_name": "libssl1.0.0" }, { "binary_version": "1.0.2n-1ubuntu5.11", "binary_name": "libssl1.0.0-dbgsym" }, { "binary_version": "1.0.2n-1ubuntu5.11", "binary_name": "libssl1.0.0-udeb" }, { "binary_version": "1.0.2n-1ubuntu5.11", "binary_name": "openssl1.0" }, { "binary_version": "1.0.2n-1ubuntu5.11", "binary_name": "openssl1.0-dbgsym" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.1.1-1ubuntu2.fips.2.1~18.04.21", "binary_name": "libcrypto1.1-udeb" }, { "binary_version": "1.1.1-1ubuntu2.fips.2.1~18.04.21", "binary_name": "libssl-dev" }, { "binary_version": "1.1.1-1ubuntu2.fips.2.1~18.04.21", "binary_name": "libssl-doc" }, { "binary_version": "1.1.1-1ubuntu2.fips.2.1~18.04.21", "binary_name": "libssl1.1" }, { "binary_version": "1.1.1-1ubuntu2.fips.2.1~18.04.21", "binary_name": "libssl1.1-dbgsym" }, { "binary_version": "1.1.1-1ubuntu2.fips.2.1~18.04.21", "binary_name": "libssl1.1-hmac" }, { "binary_version": "1.1.1-1ubuntu2.fips.2.1~18.04.21", "binary_name": "libssl1.1-udeb" }, { "binary_version": "1.1.1-1ubuntu2.fips.2.1~18.04.21", "binary_name": "openssl" }, { "binary_version": "1.1.1-1ubuntu2.fips.2.1~18.04.21", "binary_name": "openssl-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.1.1f-1ubuntu2.17", "binary_name": "libcrypto1.1-udeb" }, { "binary_version": "1.1.1f-1ubuntu2.17", "binary_name": "libssl-dev" }, { "binary_version": "1.1.1f-1ubuntu2.17", "binary_name": "libssl-doc" }, { "binary_version": "1.1.1f-1ubuntu2.17", "binary_name": "libssl1.1" }, { "binary_version": "1.1.1f-1ubuntu2.17", "binary_name": "libssl1.1-dbgsym" }, { "binary_version": "1.1.1f-1ubuntu2.17", "binary_name": "libssl1.1-udeb" }, { "binary_version": "1.1.1f-1ubuntu2.17", "binary_name": "openssl" }, { "binary_version": "1.1.1f-1ubuntu2.17", "binary_name": "openssl-dbgsym" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.1.1f-1ubuntu2.fips.17", "binary_name": "libcrypto1.1-udeb" }, { "binary_version": "1.1.1f-1ubuntu2.fips.17", "binary_name": "libssl-dev" }, { "binary_version": "1.1.1f-1ubuntu2.fips.17", "binary_name": "libssl-doc" }, { "binary_version": "1.1.1f-1ubuntu2.fips.17", "binary_name": "libssl1.1" }, { "binary_version": "1.1.1f-1ubuntu2.fips.17", "binary_name": "libssl1.1-dbgsym" }, { "binary_version": "1.1.1f-1ubuntu2.fips.17", "binary_name": "libssl1.1-hmac" }, { "binary_version": "1.1.1f-1ubuntu2.fips.17", "binary_name": "libssl1.1-udeb" }, { "binary_version": "1.1.1f-1ubuntu2.fips.17", "binary_name": "openssl" }, { "binary_version": "1.1.1f-1ubuntu2.fips.17", "binary_name": "openssl-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "12.22.9~dfsg-1ubuntu3.3", "binary_name": "libnode-dev" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.3", "binary_name": "libnode72" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.3", "binary_name": "libnode72-dbgsym" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.3", "binary_name": "nodejs" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.3", "binary_name": "nodejs-dbgsym" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.3", "binary_name": "nodejs-doc" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "3.0.2-0ubuntu1.8", "binary_name": "libssl-dev" }, { "binary_version": "3.0.2-0ubuntu1.8", "binary_name": "libssl-doc" }, { "binary_version": "3.0.2-0ubuntu1.8", "binary_name": "libssl3" }, { "binary_version": "3.0.2-0ubuntu1.8", "binary_name": "libssl3-dbgsym" }, { "binary_version": "3.0.2-0ubuntu1.8", "binary_name": "openssl" }, { "binary_version": "3.0.2-0ubuntu1.8", "binary_name": "openssl-dbgsym" } ] }