StackPatch is liveSee product

Back to CVE digest
CVE-2024-39312 · cross-distro fix matrix

CVE-2024-39312: Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees a

Affects 7 Linux releases across 8 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2024-39312 has a known fix. Run the listed command on that distro to remediate.

Debian bookworm

Source: Debian Security Tracker

  • botan→ fixed in2.19.3+dfsg-1+deb12u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y botan

Debian trixie

Source: Debian Security Tracker

  • botan→ fixed in2.19.5+dfsg-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y botan

Alpine v3.20

Source: Alpine secdb

  • botan→ fixed in2.19.5-r0
    apk update && apk add --upgrade botan

Alpine v3.21

Source: Alpine secdb

  • botan→ fixed in2.19.5-r0
    apk update && apk add --upgrade botan
  • botan3→ fixed in3.5.0-r0
    apk update && apk add --upgrade botan3

Alpine edge

Source: Alpine secdb

  • botan3→ fixed in3.5.0-r0
    apk update && apk add --upgrade botan3

Alpine v3.18

Source: Alpine secdb

  • botan→ fixed in2.19.5-r0
    apk update && apk add --upgrade botan

Alpine v3.19

Source: Alpine secdb

  • botan→ fixed in2.19.5-r0
    apk update && apk add --upgrade botan
Are YOU affected by CVE-2024-39312?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2024-39312dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)