Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2025-54387

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-05 Aug, 2025 | 00:10
Updated At-05 Aug, 2025 | 14:11
Rejected At-
Credits

IPX is Vulnerable to Path Traversal via Prefix Matching Bypass

IPX is an image optimizer powered by sharp and svgo. In versions 1.3.1 and below, 2.0.0-0 through 2.1.0, and 3.0.0 through 3.1.0, the approach used to check whether a path is within allowed directories is vulnerable to path prefix bypass when the allowed directories do not end with a path separator. This occurs because the check relies on a raw string prefix comparison. This is fixed in versions 1.3.2, 2.1.1 and 3.1.1.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:05 Aug, 2025 | 00:10
Updated At:05 Aug, 2025 | 14:11
Rejected At:
▼CVE Numbering Authority (CNA)
IPX is Vulnerable to Path Traversal via Prefix Matching Bypass

IPX is an image optimizer powered by sharp and svgo. In versions 1.3.1 and below, 2.0.0-0 through 2.1.0, and 3.0.0 through 3.1.0, the approach used to check whether a path is within allowed directories is vulnerable to path prefix bypass when the allowed directories do not end with a path separator. This occurs because the check relies on a raw string prefix comparison. This is fixed in versions 1.3.2, 2.1.1 and 3.1.1.

Affected Products
Vendor
unjs
Product
ipx
Versions
Affected
  • < 1.3.2
  • >= 2.0.0-0, < 2.1.1
  • >= 3.0.0, < 3.1.1
Problem Types
TypeCWE IDDescription
CWECWE-22CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Type: CWE
CWE ID: CWE-22
Description: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Metrics
VersionBase scoreBase severityVector
4.06.9MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:N
Version: 4.0
Base score: 6.9
Base severity: MEDIUM
Vector:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr
x_refsource_CONFIRM
https://github.com/unjs/ipx/commit/81693ddbfc062cc922e4e2406e8427ab4e3ad214
x_refsource_MISC
https://github.com/unjs/ipx/releases/tag/v1.3.2
x_refsource_MISC
https://github.com/unjs/ipx/releases/tag/v2.1.1
x_refsource_MISC
https://github.com/unjs/ipx/releases/tag/v3.1.1
x_refsource_MISC
Hyperlink: https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/unjs/ipx/commit/81693ddbfc062cc922e4e2406e8427ab4e3ad214
Resource:
x_refsource_MISC
Hyperlink: https://github.com/unjs/ipx/releases/tag/v1.3.2
Resource:
x_refsource_MISC
Hyperlink: https://github.com/unjs/ipx/releases/tag/v2.1.1
Resource:
x_refsource_MISC
Hyperlink: https://github.com/unjs/ipx/releases/tag/v3.1.1
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr
exploit
Hyperlink: https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr
Resource:
exploit
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:05 Aug, 2025 | 01:15
Updated At:05 Aug, 2025 | 14:34

IPX is an image optimizer powered by sharp and svgo. In versions 1.3.1 and below, 2.0.0-0 through 2.1.0, and 3.0.0 through 3.1.0, the approach used to check whether a path is within allowed directories is vulnerable to path prefix bypass when the allowed directories do not end with a path separator. This occurs because the check relies on a raw string prefix comparison. This is fixed in versions 1.3.2, 2.1.1 and 3.1.1.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary4.06.9MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Type: Secondary
Version: 4.0
Base score: 6.9
Base severity: MEDIUM
Vector:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-22Secondarysecurity-advisories@github.com
CWE ID: CWE-22
Type: Secondary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/unjs/ipx/commit/81693ddbfc062cc922e4e2406e8427ab4e3ad214security-advisories@github.com
N/A
https://github.com/unjs/ipx/releases/tag/v1.3.2security-advisories@github.com
N/A
https://github.com/unjs/ipx/releases/tag/v2.1.1security-advisories@github.com
N/A
https://github.com/unjs/ipx/releases/tag/v3.1.1security-advisories@github.com
N/A
https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcrsecurity-advisories@github.com
N/A
https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr134c704f-9b21-4f2e-91b3-4a467353bcc0
N/A
Hyperlink: https://github.com/unjs/ipx/commit/81693ddbfc062cc922e4e2406e8427ab4e3ad214
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/unjs/ipx/releases/tag/v1.3.2
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/unjs/ipx/releases/tag/v2.1.1
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/unjs/ipx/releases/tag/v3.1.1
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/unjs/ipx/security/advisories/GHSA-mm3p-j368-7jcr
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found