Race Condition Affecting screen package, versions <0:4.1.0-0.27.20120314git3c2946.amzn2.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.34% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-SCREEN-10346578
  • published13 Jun 2025
  • disclosed26 May 2025

Introduced: 26 May 2025

CVE-2025-46802  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 screen to version 0:4.1.0-0.27.20120314git3c2946.amzn2.0.2 or higher.
This issue was patched in ALAS2-2025-2878.

NVD Description

Note: Versions mentioned in the description apply only to the upstream screen package and not the screen package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

For a short time they PTY is set to mode 666, allowing any user on the system to connect to the screen session.

CVSS Base Scores

version 3.1