portage-ng / portage / dev-libs / opensc / 9999
portage-ng glsa
5 advisories reference dev-libs/opensc · none place version 9999 in a vulnerable range
▸ GLSA 202412-15 OpenSC: Multiple Vulnerabilities this version unaffected normal local 2024-12-11

Multiple vulnerabilities have been discovered in OpenSC, the worst of which could lead to arbitrary code execution.

Announced
2024-12-11
Revised
2024-12-11
Access
local
Bugs
#907930 #917651
Advisory
https://security.gentoo.org/glsa/202412-15

Affected packages

PackageArchVulnerableUnaffected
dev-libs/opensc*< 0.24.0>= 0.24.0

Background

OpenSC contains tools and libraries for smart cards.

Description

Multiple vulnerabilities have been discovered in OpenSC. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All OpenSC users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.24.0"

References

▸ GLSA 202209-03 OpenSC: Multiple Vulnerabilities this version unaffected normal remote 2022-09-07

Multiple vulnerabilities have been discovered in OpenSC, the worst of which could result in the execution of arbitrary code.

Announced
2022-09-07
Revised
2022-09-07
Access
remote
Bugs
#839357
Advisory
https://security.gentoo.org/glsa/202209-03

Affected packages

PackageArchVulnerableUnaffected
dev-libs/opensc*< 0.22.0>= 0.22.0

Background

OpenSC contains tools and libraries for smart cards.

Description

Multiple vulnerabilities have been discovered in OpenSC. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All OpenSC users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.22.0"

References

▸ GLSA 201401-18 OpenSC: Arbitrary code execution this version unaffected normal local 2014-01-21

Multiple stack-based buffer overflows have been found in OpenSC, allowing attackers to execute arbitrary code.

Announced
2014-01-21
Revised
2014-01-21
Access
local
Bugs
#349567
Advisory
https://security.gentoo.org/glsa/201401-18

Affected packages

PackageArchVulnerableUnaffected
dev-libs/opensc*< 0.11.13-r2>= 0.11.13-r2

Background

OpenSC is a tools and libraries for smart cards.

Description

Multiple stack-based buffer overflow errors have been discovered in OpenSC.

Impact

A physically proximate attacker could possibly execute arbitrary code using a specially crafted smart card.

Workaround

There is no known workaround at this time.

Resolution

All OpenSC users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.11.13-r2"

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying some of these packages.

References

▸ GLSA 200908-01 OpenSC: Multiple vulnerabilities this version unaffected normal local 2009-08-01

Multiple vulnerabilities were found in OpenSC.

Announced
2009-08-01
Revised
2009-08-01
Access
local
Bugs
#260514 #269920
Advisory
https://security.gentoo.org/glsa/200908-01

Affected packages

PackageArchVulnerableUnaffected
dev-libs/opensc*< 0.11.8>= 0.11.8

Background

OpenSC provides a set of libraries and utilities to access smart cards.

Description

Multiple vulnerabilities were found in OpenSC:

  • b.badrignans discovered that OpenSC incorrectly initialises private data objects (CVE-2009-0368).
  • Miquel Comas Marti discovered that src/tools/pkcs11-tool.c in pkcs11-tool in OpenSC 0.11.7, when used with unspecified third-party PKCS#11 modules, generates RSA keys with incorrect public exponents (CVE-2009-1603).

Impact

The first vulnerabilty allows physically proximate attackers to bypass intended PIN requirements and read private data objects. The second vulnerability allows attackers to read the cleartext form of messages that were intended to be encrypted.

NOTE: Smart cards which were initialised using an affected version of OpenSC need to be modified or re-initialised. See the vendor's advisory for details.

Workaround

There is no known workaround at this time.

Resolution

All OpenSC users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.11.8"

References

▸ GLSA 200812-09 OpenSC: Insufficient protection of smart card PIN this version unaffected normal local 2008-12-10

Smart cards formatted using OpenSC do not sufficiently protect the PIN, allowing attackers to reset it.

Announced
2008-12-10
Revised
2008-12-10
Access
local
Bugs
#233543
Advisory
https://security.gentoo.org/glsa/200812-09

Affected packages

PackageArchVulnerableUnaffected
dev-libs/opensc*< 0.11.6>= 0.11.6

Background

OpenSC is a smart card application that allows reading and writing via PKCS#11.

Description

Chaskiel M Grundman reported that OpenSC uses weak permissions (ADMIN file control information of 00) for the 5015 directory on smart cards and USB crypto tokens running Siemens CardOS M4.

Impact

A physically proximate attacker can exploit this vulnerability to change the PIN on a smart card and use it for authentication, leading to privilege escalation.

Workaround

There is no known workaround at this time.

Resolution

All OpenSC users should upgrade to the latest version, and then check and update their smart cards:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.11.6"
# pkcs15-tool --test-update
# pkcs15-tool --test-update --update

References