CVE-2023-40661

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-40661
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40661.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-40661
Related
Published
2023-11-06T17:15:11Z
Modified
2024-09-18T03:25:21.207561Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or administrator enrolls cards. To take advantage of these flaws, an attacker must have physical access to the computer system and employ a custom-crafted USB device or smart card to manipulate responses to APDUs. This manipulation can potentially allow compromise key generation, certificate loading, and other card management operations during enrollment.

References

Affected packages

Debian:11 / opensc

Package

Name
opensc
Purl
pkg:deb/debian/opensc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.21.0-1
0.22.0-1
0.22.0-2
0.22.0-2.1
0.23.0-0.1
0.23.0-0.2
0.23.0-0.3
0.23.0-1
0.23.0-2
0.24.0~rc1-1
0.25.0~rc1-1
0.25.1-1
0.25.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / opensc

Package

Name
opensc
Purl
pkg:deb/debian/opensc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.23.0-0.3+deb12u1

Affected versions

0.*

0.23.0-0.3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / opensc

Package

Name
opensc
Purl
pkg:deb/debian/opensc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.23.0-2

Affected versions

0.*

0.23.0-0.3
0.23.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/opensc/opensc

Affected ranges

Type
GIT
Repo
https://github.com/opensc/opensc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

0.*

0.12.2
0.12.2-rc1
0.13.0
0.13.0pre1
0.13.0rc1
0.14.0
0.14.0rc2
0.14.0rtm
0.15.0
0.16.0
0.16.0-rc1
0.16.0-rc2
0.17.0
0.17.0-rc1
0.17.0-rc2
0.18.0
0.18.0-rc1
0.18.0-rc2
0.19.0
0.19.0-rc1
0.20.0
0.20.0-rc1
0.20.0-rc2
0.20.0-rc3
0.20.0-rc4
0.21.0
0.21.0-rc1
0.21.0-rc2
0.22.0
0.22.0-rc1
0.22.0-rc2
0.23.0
0.23.0-rc1
0.23.0-rc2

v0.*

v0.12.2
v0.16.0-pre1