Directory Traversal Affecting pesign package, versions <0:0.112-27.el8_7


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.04% (13th 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-PESIGN-5415416
  • published9 Mar 2023
  • disclosed2 Feb 2023

Introduced: 2 Feb 2023

CVE-2022-3560  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 pesign to version 0:0.112-27.el8_7 or higher.
This issue was patched in RLSA-2023:1572.

NVD Description

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

A flaw was found in pesign. The pesign package provides a systemd service used to start the pesign daemon. This service unit runs a script to set ACLs for /etc/pki/pesign and /run/pesign directories to grant access privileges to users in the 'pesign' group. However, the script doesn't check for symbolic links. This could allow an attacker to gain access to privileged files and directories via a path traversal attack.

CVSS Scores

version 3.1