Advisory

RUSTSEC-2023-0012

Also known as: CVE-2023-0217, GHSA-vxrh-cpg7-8vjr

Summary

NULL dereference validating DSA public key

Details

An invalid pointer dereference on read can be triggered when an
application tries to check a malformed DSA public key by the
EVP_PKEY_public_check() function. This will most likely lead
to an application crash. This function can be called on public
keys supplied from untrusted sources which could allow an attacker
to cause a denial of service attack.

The TLS implementation in OpenSSL does not call this function
but applications might call the function if there are additional
security requirements imposed by standards such as FIPS 140-3.

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