450 lines
19 KiB
JSON
450 lines
19 KiB
JSON
{
|
||
"dataType": "CVE_RECORD",
|
||
"dataVersion": "5.2",
|
||
"cveMetadata": {
|
||
"cveId": "CVE-2025-4748",
|
||
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
|
||
"state": "PUBLISHED",
|
||
"assignerShortName": "EEF",
|
||
"dateReserved": "2025-05-15T08:36:54.783Z",
|
||
"datePublished": "2025-06-16T11:00:54.643Z",
|
||
"dateUpdated": "2026-11-11T20:04:45.959Z"
|
||
},
|
||
"containers": {
|
||
"cna": {
|
||
"affected": [
|
||
{
|
||
"cpes": [
|
||
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
|
||
],
|
||
"defaultStatus": "unaffected",
|
||
"modules": [
|
||
"zip"
|
||
],
|
||
"packageName": "otp",
|
||
"packageURL": "pkg:software-id/erlang.org/otp",
|
||
"product": "OTP",
|
||
"programFiles": [
|
||
"lib/stdlib/src/zip.erl"
|
||
],
|
||
"programRoutines": [
|
||
{
|
||
"name": "zip:unzip/1"
|
||
},
|
||
{
|
||
"name": "zip:unzip/2"
|
||
},
|
||
{
|
||
"name": "zip:extract/1"
|
||
},
|
||
{
|
||
"name": "zip:extract/2"
|
||
}
|
||
],
|
||
"vendor": "Erlang",
|
||
"versions": [
|
||
{
|
||
"changes": [
|
||
{
|
||
"at": "26.2.5.13",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "27.3.4.1",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "28.0.1",
|
||
"status": "unaffected"
|
||
}
|
||
],
|
||
"lessThan": "*",
|
||
"status": "affected",
|
||
"version": "17.0",
|
||
"versionType": "otp"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"cpes": [
|
||
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
|
||
],
|
||
"defaultStatus": "unaffected",
|
||
"modules": [
|
||
"zip"
|
||
],
|
||
"packageName": "stdlib",
|
||
"packageURL": "pkg:otp/stdlib?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
|
||
"product": "OTP",
|
||
"programFiles": [
|
||
"src/zip.erl"
|
||
],
|
||
"programRoutines": [
|
||
{
|
||
"name": "zip:unzip/1"
|
||
},
|
||
{
|
||
"name": "zip:unzip/2"
|
||
},
|
||
{
|
||
"name": "zip:extract/1"
|
||
},
|
||
{
|
||
"name": "zip:extract/2"
|
||
}
|
||
],
|
||
"repo": "https://github.com/erlang/otp",
|
||
"vendor": "Erlang",
|
||
"versions": [
|
||
{
|
||
"changes": [
|
||
{
|
||
"at": "5.2.3.4",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "6.2.2.1",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "7.0.1",
|
||
"status": "unaffected"
|
||
}
|
||
],
|
||
"lessThan": "*",
|
||
"status": "affected",
|
||
"version": "2.0",
|
||
"versionType": "otp"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"collectionURL": "https://github.com",
|
||
"cpes": [
|
||
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
|
||
],
|
||
"defaultStatus": "unaffected",
|
||
"modules": [
|
||
"zip"
|
||
],
|
||
"packageName": "erlang/otp",
|
||
"packageURL": "pkg:github/erlang/otp",
|
||
"product": "OTP",
|
||
"programFiles": [
|
||
"lib/stdlib/src/zip.erl"
|
||
],
|
||
"programRoutines": [
|
||
{
|
||
"name": "zip:unzip/1"
|
||
},
|
||
{
|
||
"name": "zip:unzip/2"
|
||
},
|
||
{
|
||
"name": "zip:extract/1"
|
||
},
|
||
{
|
||
"name": "zip:extract/2"
|
||
}
|
||
],
|
||
"repo": "https://github.com/erlang/otp",
|
||
"vendor": "Erlang",
|
||
"versions": [
|
||
{
|
||
"changes": [
|
||
{
|
||
"at": "578d4001575aa7647ea1efd4b2b7e3afadcc99a5",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "5a55feec10c9b69189d56723d8f237afa58d5d4f",
|
||
"status": "unaffected"
|
||
}
|
||
],
|
||
"lessThan": "*",
|
||
"status": "affected",
|
||
"version": "07b8f441ca711f9812fad9e9115bab3c3aa92f79",
|
||
"versionType": "git"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"cpeApplicability": [
|
||
{
|
||
"nodes": [
|
||
{
|
||
"cpeMatch": [
|
||
{
|
||
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
|
||
"versionEndExcluding": "26.2.5.13",
|
||
"versionStartIncluding": "17.0",
|
||
"vulnerable": true
|
||
},
|
||
{
|
||
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
|
||
"versionEndExcluding": "27.3.4.1",
|
||
"versionStartIncluding": "27.0",
|
||
"vulnerable": true
|
||
},
|
||
{
|
||
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
|
||
"versionEndExcluding": "28.0.1",
|
||
"versionStartIncluding": "28.0",
|
||
"vulnerable": true
|
||
}
|
||
],
|
||
"negate": false,
|
||
"operator": "OR"
|
||
}
|
||
],
|
||
"operator": "AND"
|
||
}
|
||
],
|
||
"credits": [
|
||
{
|
||
"lang": "en",
|
||
"type": "finder",
|
||
"value": "Wander Nauta"
|
||
},
|
||
{
|
||
"lang": "en",
|
||
"type": "remediation developer",
|
||
"value": "Lukas Backström"
|
||
},
|
||
{
|
||
"lang": "en",
|
||
"type": "remediation reviewer",
|
||
"value": "Björn Gustavsson"
|
||
}
|
||
],
|
||
"datePublic": "2025-06-16T11:00:54.000Z",
|
||
"descriptions": [
|
||
{
|
||
"lang": "en",
|
||
"supportingMedia": [
|
||
{
|
||
"base64": false,
|
||
"type": "text/html",
|
||
"value": "<p>Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal, File Manipulation.</p>\n<p>This vulnerability is associated with program files <code>lib/stdlib/src/zip.erl</code> and program routines <code>zip:unzip/1</code>, <code>zip:unzip/2</code>, <code>zip:extract/1</code>, <code>zip:extract/2</code> unless the <code>memory</code> option is passed.</p>\n<p>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.</p>"
|
||
},
|
||
{
|
||
"base64": false,
|
||
"type": "text/markdown",
|
||
"value": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal, File Manipulation.\n\nThis 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.\n\nThis 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."
|
||
}
|
||
],
|
||
"value": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal, File Manipulation.\n\nThis 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.\n\nThis 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."
|
||
}
|
||
],
|
||
"impacts": [
|
||
{
|
||
"capecId": "CAPEC-597",
|
||
"descriptions": [
|
||
{
|
||
"lang": "en",
|
||
"value": "CAPEC-597 Absolute Path Traversal"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"capecId": "CAPEC-165",
|
||
"descriptions": [
|
||
{
|
||
"lang": "en",
|
||
"value": "CAPEC-165 File Manipulation"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"metrics": [
|
||
{
|
||
"cvssV4_0": {
|
||
"Automatable": "NOT_DEFINED",
|
||
"Recovery": "NOT_DEFINED",
|
||
"Safety": "NOT_DEFINED",
|
||
"attackComplexity": "LOW",
|
||
"attackRequirements": "NONE",
|
||
"attackVector": "LOCAL",
|
||
"baseScore": 4.8,
|
||
"baseSeverity": "MEDIUM",
|
||
"privilegesRequired": "NONE",
|
||
"providerUrgency": "NOT_DEFINED",
|
||
"subAvailabilityImpact": "LOW",
|
||
"subConfidentialityImpact": "NONE",
|
||
"subIntegrityImpact": "LOW",
|
||
"userInteraction": "PASSIVE",
|
||
"valueDensity": "NOT_DEFINED",
|
||
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L",
|
||
"version": "4.0",
|
||
"vulnAvailabilityImpact": "LOW",
|
||
"vulnConfidentialityImpact": "NONE",
|
||
"vulnIntegrityImpact": "LOW",
|
||
"vulnerabilityResponseEffort": "NOT_DEFINED"
|
||
},
|
||
"format": "CVSS",
|
||
"scenarios": [
|
||
{
|
||
"lang": "en",
|
||
"value": "GENERAL"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"problemTypes": [
|
||
{
|
||
"descriptions": [
|
||
{
|
||
"cweId": "CWE-22",
|
||
"description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory",
|
||
"lang": "en",
|
||
"type": "CWE"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"providerMetadata": {
|
||
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
|
||
"shortName": "EEF",
|
||
"dateUpdated": "2026-11-11T20:04:45.959Z"
|
||
},
|
||
"references": [
|
||
{
|
||
"name": "Absolute Path in Zip Module",
|
||
"tags": [
|
||
"vendor-advisory",
|
||
"related"
|
||
],
|
||
"url": "https://github.com/erlang/otp/security/advisories/GHSA-9g37-pgj9-wrhc"
|
||
},
|
||
{
|
||
"name": "EEF CNA record for CVE-2025-4748",
|
||
"tags": [
|
||
"related"
|
||
],
|
||
"url": "https://cna.erlef.org/cves/CVE-2025-4748.html"
|
||
},
|
||
{
|
||
"name": "OSV record EEF-CVE-2025-4748",
|
||
"tags": [
|
||
"related"
|
||
],
|
||
"url": "https://osv.dev/vulnerability/EEF-CVE-2025-4748"
|
||
},
|
||
{
|
||
"name": "Erlang/OTP version ordering",
|
||
"tags": [
|
||
"x_version-scheme"
|
||
],
|
||
"url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
|
||
},
|
||
{
|
||
"tags": [
|
||
"patch"
|
||
],
|
||
"url": "https://github.com/erlang/otp/pull/9941"
|
||
},
|
||
{
|
||
"name": "Introducing commit 07b8f44 in erlang/otp",
|
||
"tags": [
|
||
"related"
|
||
],
|
||
"url": "https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79"
|
||
},
|
||
{
|
||
"name": "Fix commit 578d400 in erlang/otp",
|
||
"tags": [
|
||
"patch"
|
||
],
|
||
"url": "https://github.com/erlang/otp/commit/578d4001575aa7647ea1efd4b2b7e3afadcc99a5"
|
||
},
|
||
{
|
||
"name": "Fix commit ba2f2bc in erlang/otp",
|
||
"tags": [
|
||
"patch"
|
||
],
|
||
"url": "https://github.com/erlang/otp/commit/ba2f2bc5f45fcfd2d6201ba07990a678bbf4cc8f"
|
||
},
|
||
{
|
||
"name": "Fix commit 5a55fee in erlang/otp",
|
||
"tags": [
|
||
"patch"
|
||
],
|
||
"url": "https://github.com/erlang/otp/commit/5a55feec10c9b69189d56723d8f237afa58d5d4f"
|
||
}
|
||
],
|
||
"source": {
|
||
"discovery": "EXTERNAL"
|
||
},
|
||
"title": "Absolute path traversal in zip:unzip/1,2",
|
||
"workarounds": [
|
||
{
|
||
"lang": "en",
|
||
"supportingMedia": [
|
||
{
|
||
"base64": false,
|
||
"type": "text/html",
|
||
"value": "<p>You can use <code>zip:list_dir/1</code> on the archive and verify that no files contain absolute paths before extracting the archive to disk.</p>"
|
||
},
|
||
{
|
||
"base64": false,
|
||
"type": "text/markdown",
|
||
"value": "You can use `zip:list_dir/1` on the archive and verify that no files contain absolute paths before extracting the archive to disk."
|
||
}
|
||
],
|
||
"value": "You can use zip:list_dir/1 on the archive and verify that no files contain absolute paths before extracting the archive to disk."
|
||
}
|
||
]
|
||
},
|
||
"adp": [
|
||
{
|
||
"metrics": [
|
||
{
|
||
"other": {
|
||
"type": "ssvc",
|
||
"content": {
|
||
"timestamp": "2025-06-16T15:10:47.019511Z",
|
||
"id": "CVE-2025-4748",
|
||
"options": [
|
||
{
|
||
"Exploitation": "none"
|
||
},
|
||
{
|
||
"Automatable": "yes"
|
||
},
|
||
{
|
||
"Technical Impact": "partial"
|
||
}
|
||
],
|
||
"role": "CISA Coordinator",
|
||
"version": "2.0.3"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"title": "CISA ADP Vulnrichment",
|
||
"providerMetadata": {
|
||
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
||
"shortName": "CISA-ADP",
|
||
"dateUpdated": "2025-06-16T15:33:34.557Z"
|
||
}
|
||
},
|
||
{
|
||
"title": "CVE Program Container",
|
||
"references": [
|
||
{
|
||
"url": "http://www.openwall.com/lists/oss-security/2025/06/16/5"
|
||
}
|
||
],
|
||
"providerMetadata": {
|
||
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
|
||
"shortName": "CVE",
|
||
"dateUpdated": "2025-06-16T20:03:21.484Z"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
} |