跳转到帖子

Amazon Linux 2023: CVE-2023-2977: Medium priority package update for opensc

recommended_posts

发布于
  • Members

Amazon Linux 2023: CVE-2023-2977: Medium priority package update for opensc

Severity
5
CVSS
(AV:L/AC:H/Au:S/C:C/I:N/A:C)
Published
05/30/2023
Created
02/14/2025
Added
02/14/2025
Modified
02/14/2025

Description

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. A vulnerability was found in OpenSC. This issue causes a buffer overrun in the pkcs15 cardos_have_verifyrc_package. This flaw allows an attacker to supply a smart card package with a malformed ASN1 context. The cardos_have_verifyrc_package function scans the ASN1 buffer for two tags, where the remaining length is wrongly calculated due to a moved starting pointer, leading to a possible heap-based buffer out-of-bounds read. In cases where ASN is enabled while compiling, this problem causes a crash, and further information leaks or more damage is likely.

Solution(s)

  • amazon-linux-2023-upgrade-opensc
  • amazon-linux-2023-upgrade-opensc-debuginfo
  • amazon-linux-2023-upgrade-opensc-debugsource

References

  • https://attackerkb.com/topics/cve-2023-2977
  • CVE - 2023-2977
  • https://alas.aws.amazon.com/AL2023/ALAS-2023-207.html
  • 查看数 701
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…