Security
Headlines
HeadlinesLatestCVEs

Headline

Gentoo Linux Security Advisory 202209-03

Gentoo Linux Security Advisory 202209-3 - Multiple vulnerabilities have been discovered in OpenSC, the worst of which could result in the execution of arbitrary code. Versions less than 0.22.0 are affected.

Packet Storm
#vulnerability#web#mac#linux

Gentoo Linux Security Advisory GLSA 202209-03


                                       https://security.gentoo.org/  

Severity: Normal
Title: OpenSC: Multiple Vulnerabilities
Date: September 07, 2022
Bugs: #839357
ID: 202209-03


Synopsis

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

Background

OpenSC contains tools and libraries for smart cards.

Affected packages

-------------------------------------------------------------------  
 Package              /     Vulnerable     /            Unaffected  
-------------------------------------------------------------------  

1 dev-libs/opensc < 0.22.0 >= 0.22.0

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

[ 1 ] CVE-2021-42778
https://nvd.nist.gov/vuln/detail/CVE-2021-42778
[ 2 ] CVE-2021-42779
https://nvd.nist.gov/vuln/detail/CVE-2021-42779
[ 3 ] CVE-2021-42780
https://nvd.nist.gov/vuln/detail/CVE-2021-42780
[ 4 ] CVE-2021-42781
https://nvd.nist.gov/vuln/detail/CVE-2021-42781
[ 5 ] CVE-2021-42782
https://nvd.nist.gov/vuln/detail/CVE-2021-42782

Availability

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/202209-03

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users’ machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License

Copyright 2022 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5

Related news

CVE-2023-2977: Possible buffer overrun vulnerability in pkcs15 `cardos_have_verifyrc_package` · Issue #2785 · OpenSC/OpenSC

A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package. The attacker can supply a smart card package with malformed ASN1 context. The cardos_have_verifyrc_package function scans the ASN1 buffer for 2 tags, where remaining length is wrongly caculated due to moved starting pointer. This leads to possible heap-based buffer oob read. In cases where ASAN is enabled while compiling this causes a crash. Further info leak or more damage is possible.

CVE-2021-42778: Invalid Bug ID

A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.

CVE-2021-42781: Invalid Bug ID

Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the library.

CVE-2021-42782: cardos: Correctly calculate the left bytes to avoid buffer overrun · OpenSC/OpenSC@1252aca

Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.

CVE-2021-42780

A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.

CVE-2021-42779

A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.

Packet Storm: Latest News

Scapy Packet Manipulation Tool 2.6.1