Advisory

GHSA-vxrh-cpg7-8vjr

Also known as: CVE-2023-0217, RUSTSEC-2023-0012

Summary

openssl-src subject to 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

High Basis: The source's own band: HIGH

Dates

Published
2023-02-08 22:22 UTC
Modified
2026-09-10 03:49 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences