Amazon Linux 2 : opensc (ALAS-2023-2323)

medium Nessus Plugin ID 184292

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of opensc installed on the remote host is prior to 0.19.0-5. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-2323 advisory.

Potential PIN bypass.When the token/card was plugged into the computer and authenticated from one process, it could be used to provide cryptographic operations from different process when the empty, zero-length PIN and the token can track the login status using some of its internals. This is dangerous for OS logon/screen unlock and small tokens that are plugged permanently to the computer. (CVE-2023-40660)

multiple memory issues with pkcs15-init (enrollment tool) (CVE-2023-40661)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update opensc' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2323.html

https://alas.aws.amazon.com/cve/html/CVE-2023-40660.html

https://alas.aws.amazon.com/cve/html/CVE-2023-40661.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 184292

File Name: al2_ALAS-2023-2323.nasl

Version: 1.3

Type: local

Agent: unix

Published: 11/2/2023

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2023-40660

CVSS v3

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 5.8

Vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:opensc, p-cpe:/a:amazon:linux:opensc-debuginfo

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 10/30/2023

Vulnerability Publication Date: 10/30/2023

Reference Information

CVE: CVE-2023-40660, CVE-2023-40661