Advisory

RUSTSEC-2023-0038

Also known as: CVE-2023-53160, GHSA-25mx-8f3v-8wh7

Summary

Out-of-bounds array access leads to panic

Details

Affected versions of the crate have several bugs where
attacker-controlled input can result in the use of an out-of-bound
array index. Rust detects the use of the out-of-bound index and
causes the application to panic. An attacker may be able to use this
to cause a denial-of-service. However, it is not possible for an
attacker to read from or write to the application's address space.

Severity

Not rated by the source.

Dates

Published
2023-05-16 12:00 UTC
Modified
2025-10-28 06:02 UTC

Affected packages and fixes

sequoia-openpgp

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 1.1.1, introduced 1.2.0, fixed 1.8.1, introduced 1.9.0, fixed 1.16.0 (semver)

Fixed versions

1.1.1, 1.8.1, 1.16.0

Fix

  • Fixed version 1.1.1
    cargo update -p sequoia-openpgp --precise 1.1.1
  • Fixed version 1.8.1
    cargo update -p sequoia-openpgp --precise 1.8.1
  • Fixed version 1.16.0
    cargo update -p sequoia-openpgp --precise 1.16.0

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