Advisory

RUSTSEC-2023-0011

Also known as: CVE-2023-0216, GHSA-29xx-hcv2-c4cp

Summary

Invalid pointer dereference in d2i_PKCS7 functions

Details

An invalid pointer dereference on read can be triggered when an
application tries to load malformed PKCS7 data with the
d2i_PKCS7(), d2i_PKCS7_bio() or d2i_PKCS7_fp() functions.

The result of the dereference is an application crash which could
lead to a denial of service attack. The TLS implementation in OpenSSL
does not call this function however third party applications might
call these functions on untrusted data.

Severity

Not rated by the source.

Dates

Published
2023-02-07 12:00 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

openssl-src

crates.io · All systems

Affected

  • introduced 300.0.0, fixed 300.0.12 (semver)

Fixed versions

300.0.12

Fix

  • Fixed version 300.0.12
    cargo update -p openssl-src --precise 300.0.12

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences