Skip to content

CVE-2025-4748 Absolute path traversal in zip:unzip/1,2

MediumCVSS 4.8 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal, File Manipulation.

This vulnerability is associated with program files lib/stdlib/src/zip.erl and program routines zip:unzip/1, zip:unzip/2, zip:extract/1, zip:extract/2 unless the memory option is passed.

This issue affects OTP from OTP 17.0 before OTP 26.2.5.13, OTP 27.3.4.1, and OTP 28.0.1, corresponding to stdlib from 2.0 before 5.2.3.4, 6.2.2.1, and 7.0.1.

Upgrade path

8 packages: 8 fixed.

PackageAffectedFixed inStatus
azure linux erlang(Azure Linux 3.0) < 26.2.5.13-1 26.2.5.13-1 Fixed
cbl-mariner erlang(CBL-Mariner 2.0) < 25.3.2.21-2 25.3.2.21-2 Fixed
debian/erlang(Debian 12) < 1:25.2.3+dfsg-1+deb12u2; = 1:25.2.3+dfsg-1; = 1:25.2.3+dfsg-1+deb12u1 1:25.2.3+dfsg-1+deb12u2 Fixed
debian/erlang(Debian 13) < 1:27.3.4.1+dfsg-1 1:27.3.4.1+dfsg-1 Fixed
debian/erlang(Debian 14) < 1:27.3.4.1+dfsg-1 1:27.3.4.1+dfsg-1 Fixed
erlangotp >= 07b8f441ca711f9812fad9e9115bab3c3aa92f79, < 578d4001575aa7647ea1efd4b2b7e3afadcc99a5; >= 2.0, < 5.2.3.4; >= 17.0, < 26.2.5.13 5.2.3.4, 26.2.5.13, 578d4001575aa7647ea1efd4b2b7e3afadcc99a5 Fixed
ubuntu/erlang(Ubuntu 22.04) < 1:24.2.1+dfsg-1ubuntu0.5 1:24.2.1+dfsg-1ubuntu0.5 Fixed
ubuntu/erlang(Ubuntu 24.04) < 1:25.3.2.8+dfsg-1ubuntu4.4 1:25.3.2.8+dfsg-1ubuntu4.4 Fixed

Affected products

ProductAffected versionsFixed in
cbl-mariner erlang(CBL-Mariner:2.0) < 25.3.2.21-2 25.3.2.21-2
azure linux erlang(Azure Linux:3.0) < 26.2.5.13-1 26.2.5.13-1
ubuntu/erlang(Ubuntu:22.04) < 1:24.2.1+dfsg-1ubuntu0.5 1:24.2.1+dfsg-1ubuntu0.5
ubuntu/erlang(Ubuntu:24.04) < 1:25.3.2.8+dfsg-1ubuntu4.4 1:25.3.2.8+dfsg-1ubuntu4.4
erlangotp >= 2.0, < 5.2.3.4 5.2.3.4
erlangotp >= 17.0, < 26.2.5.13 26.2.5.13
erlangotp >= 07b8f441ca711f9812fad9e9115bab3c3aa92f79, < 578d4001575aa7647ea1efd4b2b7e3afadcc99a5 578d4001575aa7647ea1efd4b2b7e3afadcc99a5
debian/erlang(Debian:12) < 1:25.2.3+dfsg-1+deb12u2 1:25.2.3+dfsg-1+deb12u2
debian/erlang(Debian:12) = 1:25.2.3+dfsg-1 No fix listed
debian/erlang(Debian:12) = 1:25.2.3+dfsg-1+deb12u1 No fix listed
debian/erlang(Debian:13) < 1:27.3.4.1+dfsg-1 1:27.3.4.1+dfsg-1
debian/erlang(Debian:14) < 1:27.3.4.1+dfsg-1 1:27.3.4.1+dfsg-1

References