Time-of-check Time-of-use (TOCTOU) Affecting screen package, versions <5.0.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-ALPINE321-SCREEN-10166254
  • published14 May 2025
  • disclosed26 May 2025

Introduced: 14 May 2025

NewCVE-2025-46805  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 screen to version 5.0.1-r0 or higher.

NVD Description

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

Screen version 5.0.0 and older version 4 releases have a TOCTOU race potentially allowing to send SIGHUP, SIGCONT to privileged processes when installed setuid-root.

CVSS Base Scores

version 3.1