CWE
416
Advisory Published
Updated

F5-K000132946: Use After Free

First published: Mon Mar 13 2023(Updated: )

The public API function BIO_new_NDEF 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 BIO_f_asn1 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 BIO_pop() 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 B64_write_ASN1() which may cause BIO_new_NDEF() to be called and will subsequently call BIO_pop() on the BIO. This internal function is in turn called by the public API functions PEM_write_bio_ASN1_stream, PEM_write_bio_CMS_stream, PEM_write_bio_PKCS7_stream, SMIME_write_ASN1, SMIME_write_CMS and SMIME_write_PKCS7. Other public API functions that may be impacted by this include i2d_ASN1_bio_stream, BIO_new_CMS, BIO_new_PKCS7, i2d_CMS_bio_stream and i2d_PKCS7_bio_stream. The OpenSSL cms and smime command line applications are similarly affected.

Affected SoftwareAffected VersionHow to fix
F5 BIG-IP and BIG-IQ Centralized Management>=17.0.0<=17.1.0
17.1.0.1
F5 BIG-IP and BIG-IQ Centralized Management>=16.1.0<=16.1.3
16.1.4
F5 BIG-IP and BIG-IQ Centralized Management>=15.1.0<=15.1.9
15.1.10
F5 BIG-IP and BIG-IQ Centralized Management>=14.1.0<=14.1.5
F5 BIG-IP and BIG-IQ Centralized Management>=13.1.0<=13.1.5
F5 BIG-IP and BIG-IQ Centralized Management>=8.0.0<=8.4.0
F5 BIG-IP and BIG-IQ Centralized Management=7.1.0
F5 F5OS=1.3.1
F5 Traffix Systems Signaling Delivery Controller=5.2.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of F5-K000132946?

    The severity of F5-K000132946 is classified as high due to its potential impact on the confidentiality and integrity of sensitive data.

  • How do I fix F5-K000132946?

    To fix F5-K000132946, you should upgrade to a patched version of the affected F5 BIG-IP or BIG-IQ software as described in the advisory.

  • Which versions are affected by F5-K000132946?

    F5-K000132946 affects multiple versions of F5 BIG-IP and BIG-IQ, including versions 17.0.0 to 17.1.0, 16.1.0 to 16.1.3, and several earlier versions.

  • What products are impacted by F5-K000132946?

    F5-K000132946 impacts F5 BIG-IP, BIG-IQ Centralized Management, F5OS-A, and Traffix SDC products.

  • Is there a workaround for F5-K000132946?

    There are no known workarounds for F5-K000132946; upgrading to a secure version is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203