rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Apr 4, 2025 
          to the GitHub Advisory Database
          •
          Updated Apr 4, 2025 
      
  
Description
        Published to the GitHub Advisory Database
      Apr 4, 2025 
    
  
        Reviewed
      Apr 4, 2025 
    
  
        Last updated
      Apr 4, 2025 
    
  
When a
Some(...)value was passed to thepropertiesargument of either of these functions, a use-after-free would result.In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to
CString::drop's behavior).The maintainers thank quitbug for reporting this vulnerability to us.
References