SB2024101467 - Multiple vulnerabilities in OpenSC
Published: October 14, 2024
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 7 secuirty vulnerabilities.
1) Missing initialization of resource (CVE-ID: CVE-2024-45615)
The vulnerability allows an attacker to escalate privileges on the system.
The vulnerability exists due to missing initialization in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker with physical access to the system can use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
2) Use of uninitialized resource (CVE-ID: CVE-2024-45616)
The vulnerability allows an attacker to bypass certain security restrictions.
The vulnerability exists due to usage of uninitialized resources in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker with physical access to the system can use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
3) Use of uninitialized resource (CVE-ID: CVE-2024-45617)
The vulnerability allows an attacker to bypass certain security restrictions.
The vulnerability exists due to usage of uninitialized resources in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker with physical access to the system can use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
4) Use of uninitialized resource (CVE-ID: CVE-2024-45618)
The vulnerability allows an attacker to bypass certain security restrictions.
The vulnerability exists due to usage of uninitialized resources in pkcs15-init in OpenSC. An attacker with physical access to the system can use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
5) Use of uninitialized resource (CVE-ID: CVE-2024-45619)
The vulnerability allows an attacker to bypass certain security restrictions.
The vulnerability exists due to usage of uninitialized resources in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker with physical access to the system can use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
6) Buffer overflow (CVE-ID: CVE-2024-45620)
The vulnerability allows an attacker to bypass implemented security restrictions.
The vulnerability exists due to a boundary error in the pkcs15-init tool in OpenSC. An attacker with physical access to the system can use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
7) Heap-based buffer overflow (CVE-ID: CVE-2024-8443)
The vulnerability allows an attacker to bypass implemented security restrictions.
The vulnerability exists due to a boundary error in the libopensc OpenPGP driver. An attacker with physical access to the system can use a crafted USB device or smart card with malicious responses to the APDUs during the card enrollment process using the pkcs15-init tool to trigger an out-of-bound rights, possibly resulting in arbitrary code execution.
Remediation
Install update from vendor's website.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2309285
- https://github.com/advisories/GHSA-3q68-hm47-94vg
- https://github.com/OpenSC/OpenSC/releases/tag/0.26.0-rc1
- https://github.com/OpenSC/OpenSC/pull/3225
- https://bugzilla.redhat.com/show_bug.cgi?id=2309290
- https://github.com/advisories/GHSA-2mjg-798r-mxwh
- https://bugzilla.redhat.com/show_bug.cgi?id=2309286
- https://github.com/advisories/GHSA-cf2w-h975-2fpg
- https://bugzilla.redhat.com/show_bug.cgi?id=2309287
- https://github.com/advisories/GHSA-f2v6-mw6x-qmwc
- https://bugzilla.redhat.com/show_bug.cgi?id=2309288
- https://github.com/advisories/GHSA-9vxw-3j77-cj78
- https://bugzilla.redhat.com/show_bug.cgi?id=2309289
- https://github.com/advisories/GHSA-9c2g-6v5v-57qg
- https://bugzilla.redhat.com/show_bug.cgi?id=2310494
- https://github.com/advisories/GHSA-mgc5-p43f-72pc
- https://github.com/OpenSC/OpenSC/pull/3219