Buffer Overflow Affecting xscreensaver package, versions <6.02-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.11% (46th 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-ALPINE321-XSCREENSAVER-8490239
  • published6 Dec 2024
  • disclosed10 Jun 2021

Introduced: 10 Jun 2021

CVE-2021-34557  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 xscreensaver to version 6.02-r0 or higher.

NVD Description

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

XScreenSaver 5.45 can be bypassed if the machine has more than ten disconnectable video outputs. A buffer overflow in update_screen_layout() allows an attacker to bypass the standard screen lock authentication mechanism by crashing XScreenSaver. The attacker must physically disconnect many video outputs.

CVSS Scores

version 3.1