CVE-2024-45618Libopensc: uninitialized values after incorrect or missing checking return values of…
A vulnerability was found in pkcs15-init in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | opensc | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | opensc | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | opensc | Fix pending | 0.25.0~rc1-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-45618 |
| Ubuntu 22.04 | opensc | Fix pending | 0.22.0-1ubuntu2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-45618 |
| Ubuntu 20.04 | opensc | Fix pending | 0.20.0-3ubuntu0.1~esm4 (Ubuntu Pro) | UBUNTU-CVE-2024-45618 |
| Ubuntu 18.04 | opensc | Fix pending | 0.17.0-3ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-45618 |
| Ubuntu 16.04 | opensc | Fix pending | 0.15.0-1ubuntu1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-45618 |
| Debian 14 | opensc | Fixed | 0.25.1-2.1 | DEBIAN-CVE-2024-45618 |
| Debian 13 | opensc | Fixed | 0.25.1-2.1 | DEBIAN-CVE-2024-45618 |
| Debian 12 | opensc | Fixed | 0.23.0-0.3+deb12u2 | DEBIAN-CVE-2024-45618 |
| Red Hat Enterprise Linux 10 | opensc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | opensc-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | opensc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | opensc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opensc | Fix pending Fix deferred | ||
| Alpine Linux 3.24 | opensc | Fixed | 0.26.0-r0 | ALPINE-CVE-2024-45618 |
| Alpine Linux 3.23 | opensc | Fixed | 0.26.0-r0 | ALPINE-CVE-2024-45618 |
| Alpine Linux 3.22 | opensc | Fixed | 0.26.0-r0 | ALPINE-CVE-2024-45618 |
| Alpine Linux 3.21 | opensc | Fixed | 0.26.0-r0 | ALPINE-CVE-2024-45618 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libopensc
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
References
- https://access.redhat.com/security/cve/CVE-2024-45618
- https://bugzilla.redhat.com/show_bug.cgi?id=2309287
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.