cancel
Showing results for 
Search instead for 
Did you mean: 
SamPirok
Community Manager Community Manager
Community Manager

Summary

The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. 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.

Products Potentially Affected

OS/Product Exposure
Network OS Yes

Repair Recommendations

Fixed in 7.4.1g or later. (Target GA: May, 2023)

Please see the full security advisory article here for more details and updates.

GTM-P2G8KFN