Amazon Linux 2 : opencryptoki, --advisory ALAS2-2026-3283 (ALAS-2026-3283)

medium Nessus Plugin ID 314555

Synopsis

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

Description

The version of opencryptoki installed on the remote host is prior to 3.7.0-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2026-3283 advisory.

openCryptoki is a PKCS#11 library and provides tooling for Linux and AIX. Versions 2.3.2 and above are vulnerable to symlink-following when running in privileged contexts. A token-group user can redirect file operations to arbitrary filesystem targets by planting symlinks in group-writable token directories, resulting in privilege escalation or data exposure. Token and lock directories are 0770 (group-writable for token users), so any token-group member can plant files and symlinks inside them. When run as root, the base code handling token directory file access, as well as several openCryptoki tools used for administrative purposes, may reset ownership or permissions on existing files inside the token directories. An attacker with token-group membership can exploit the system when an administrator runs a PKCS#11 application or administrative tool that performs chown on files inside the token directory during normal maintenance. This issue is fixed in commit 5e6e4b4, but has not been included in a released version at the time of publication. (CVE-2026-23893)

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

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

Solution

Run 'yum update opencryptoki' or or 'yum update --advisory ALAS2-2026-3283' to update your system.

See Also

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

https://explore.alas.aws.amazon.com/CVE-2026-23893.html

https://alas.aws.amazon.com//AL2/ALAS2-2026-3283.html

Plugin Details

Severity: Medium

ID: 314555

File Name: al2_ALAS-2026-3283.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 5/14/2026

Updated: 5/14/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-23893

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:opencryptoki-debuginfo, p-cpe:/a:amazon:linux:opencryptoki-swtok, p-cpe:/a:amazon:linux:opencryptoki-devel, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:opencryptoki-libs, p-cpe:/a:amazon:linux:opencryptoki-icsftok, p-cpe:/a:amazon:linux:opencryptoki-tpmtok, p-cpe:/a:amazon:linux:opencryptoki

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/14/2026

Vulnerability Publication Date: 1/22/2026

Reference Information

CVE: CVE-2026-23893