Advisory

UBUNTU-CVE-2025-1390

Also known as: CVE-2025-1390

Summary

The record has no summary.

Details

The PAM module pam_cap.so of libcap configuration supports group names starting with “@”, during actual parsing, configurations not starting with “@” are incorrectly recognized as group names. This may result in nonintended users being granted an inherited capability set, potentially leading to security risks. Attackers can exploit this vulnerability to achieve local privilege escalation on systems where /etc/security/capability.conf is used to configure user inherited privileges by constructing specific usernames.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Dates

Published
2025-02-20 00:00 UTC
Modified
2026-06-23 22:00 UTC

Affected packages and fixes

libcap2

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1:2.32-1ubuntu0.2 (ecosystem)

Fixed versions

1:2.32-1ubuntu0.2

Fix

  • Fixed version 1:2.32-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libcap2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:2.44-1ubuntu0.22.04.2 (ecosystem)

Fixed versions

1:2.44-1ubuntu0.22.04.2

Fix

  • Fixed version 1:2.44-1ubuntu0.22.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libcap2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1:2.66-5ubuntu2.2 (ecosystem)

Fixed versions

1:2.66-5ubuntu2.2

Fix

  • Fixed version 1:2.66-5ubuntu2.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences