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

Low 3.9 Published Updated

Attackers can cause unexpected behavior via crafted smart card responses due to uninitialized variables in OpenSC.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-45617?

CVE-2024-45617 is a low-severity vulnerability in Opensc Project Opensc, published on 3 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. 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.

Weakness: CWE-908, CWE-457

Which versions are affected by CVE-2024-45617?

It affects 2 products.

Products include Opensc Project Opensc, Redhat Enterprise Linux.

How do I fix CVE-2024-45617?

Apply the vendor's patch.

Is CVE-2024-45617 being exploited?

There is no known exploitation of CVE-2024-45617 in the wild and no public exploit code.

All Opensc Project Opensc vulnerabilities

Sources

Also known as AZL-48732, AZL-48823, BELL-CVE-2024-45617, DEBIAN-CVE-2024-45617, GHSA-cf2w-h975-2fpg, UBUNTU-CVE-2024-45617.

Is CVE-2024-45617 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free