Amazon Linux 2 : python-jwcrypto (ALAS-2025-2763)

medium Nessus Plugin ID 216811

Synopsis

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

Description

The version of python-jwcrypto installed on the remote host is prior to 0.4.2-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2025-2763 advisory.

JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.

NOTE: https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97NOTE:
https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f (v1.5.6) (CVE-2024-28102)

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 python-jwcrypto' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2025-2763.html

https://alas.aws.amazon.com/cve/html/CVE-2024-28102.html

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

Plugin Details

Severity: Medium

ID: 216811

File Name: al2_ALAS-2025-2763.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/26/2025

Updated: 2/26/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 4.5

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

CVSS Score Source: CVE-2024-28102

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/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:python-jwcrypto

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/12/2025

Vulnerability Publication Date: 3/6/2024

Reference Information

CVE: CVE-2024-28102