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


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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-RHEL8-PESIGN-5444721
  • published1 Feb 2023
  • disclosed31 Jan 2023

Introduced: 31 Jan 2023

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

How to fix?

Upgrade RHEL:8 pesign to version 0:0.112-27.el8_6 or higher.
This issue was patched in RHSA-2023:1829.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pesign package and not the pesign package as distributed by RHEL. See How to fix? for RHEL: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