Vulnerability · Published Sep 3, 2024 · Assigned by redhat

CVE-2024-45618Libopensc: uninitialized values after incorrect or missing checking return values of functions in pkcs15init

Low 3.9

In plain English

A low-severity security flaw in libopensc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.9Low
Exploit odds (30 days)0.3%top 75.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21opensc0.26.0-r0ALPINE-CVE-2024-45618
Alpine:v3.22opensc0.26.0-r0ALPINE-CVE-2024-45618
Alpine:v3.23opensc0.26.0-r0ALPINE-CVE-2024-45618
Alpine:v3.24opensc0.26.0-r0ALPINE-CVE-2024-45618
Debian:12opensc0.23.0-0.3+deb12u2DEBIAN-CVE-2024-45618
Debian:13opensc0.25.1-2.1DEBIAN-CVE-2024-45618
Debian:14opensc0.25.1-2.1DEBIAN-CVE-2024-45618

Affected products (as reported)

VendorProductVersions
libopensc see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references

Weakness: CWE-457 · Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

References