Skip to content

acl: update to 2.4.0#61609

Merged
Duncaen merged 1 commit into
void-linux:masterfrom
vodkanull:acl-2.4.0
Jul 25, 2026
Merged

acl: update to 2.4.0#61609
Duncaen merged 1 commit into
void-linux:masterfrom
vodkanull:acl-2.4.0

Conversation

@vodkanull

Copy link
Copy Markdown
Contributor

acl: update to 2.4.0

This update fixes two security vulnerabilities in acl < 2.4.0:

  • CVE-2026-54369 (CVSS 8.4 HIGH): Symlink traversal privilege escalation via libacl pathname-based functions (acl_get_file, acl_set_file, acl_extended_file, acl_delete_def_file). Attackers who control any component of a pathname processed by a privileged caller can redirect ACL read or write operations to arbitrary files.

  • CVE-2026-54370 (CVSS 7.2 MEDIUM-HIGH): TOCTOU race condition vulnerability allowing local attackers to escalate privileges by replacing a pathname component with a symlink between an lstat() check and subsequent operations in getfacl, setfacl, or chacl.

Changes in 2.4.0

  • Harden setfacl, getfacl, and chacl against malicious input
  • Add new API functions: acl_get_file_at(), acl_set_file_at(), acl_delete_def_file_at() for safer operations using file descriptors
  • Remove libacl dependency on libattr
  • Reject invalid numeric UIDs and GIDs in libacl
  • Fix NULL pointer dereferences and memory corruption
  • Fix setfacl --restore for pathnames beginning with whitespace
  • Prevent setfacl --restore --test from changing file permissions
  • Fix memory wasting loop when user does not exist
  • Improve errno handling in acl permission functions
  • Internalize walk_tree API and replace with hardened version
  • Comprehensive test suite improvements
  • Documentation updates and translation updates

Testing

Built and tested locally on x86_64:

  • Package builds successfully
  • getfacl, setfacl, chacl all work correctly
  • libacl.so.1.2.2400 installed and functional
  • ACL operations verified (setfacl/getfacl on test files)

This is a security-critical update affecting a core system library.

@Duncaen
Duncaen merged commit a4bdc6f into void-linux:master Jul 25, 2026
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants