An issue was discovered in Samsung TizenRT through 3.0_GBM (and 3.1_PRE). cyassl_connect_step2 in curl/vtls/cyassl.c has a missing X509_free after SSL_get_peer_certificate, leading to information disclosure.
                
            References
                    | Link | Resource | 
|---|---|
| https://github.com/Samsung/TizenRT/blob/f8f776dd183246ad8890422c1ee5e8f33ab2aaaf/external/curl/vtls/cyassl.c#L545 | Third Party Advisory | 
| https://github.com/Samsung/TizenRT/issues/5626 | Issue Tracking Third Party Advisory | 
| https://www.openssl.org/docs/man1.1.1/man3/SSL_get_peer_certificate.html | Third Party Advisory | 
Configurations
                    Configuration 1 (hide)
            
            
  | 
    
History
                    No history.
Information
                Published : 2022-09-08 22:15
Updated : 2022-09-13 18:52
NVD link : CVE-2022-40281
Mitre link : CVE-2022-40281
CVE.ORG link : CVE-2022-40281
JSON object : View
Products Affected
                samsung
- tizenrt
 
CWE
                
                    
                        
                        CWE-401
                        
            Missing Release of Memory after Effective Lifetime
