Vulnerability · Published Apr 1, 2025 · Assigned by CPANSec
CVE-2025-30673Sub::HandlesVia for Perl allows untrusted code to be included from the current working directory
Medium 6.5
In plain English
A medium-severity uncontrolled search path in Sub::HandlesVia from TOBYINK. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Sub::HandlesVia for Perl before 0.050002 allows untrusted code from the current working directory ('.') to be loaded similar to CVE-2016-1238. If an attacker can place a malicious file in current working directory, it may be loaded instead of the intended file, potentially leading to arbitrary code execution. Sub::HandlesVia uses Mite to produce the affected code section due to CVE-2025-30672
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libsub-handlesvia-perl | 0.050000-1+deb12u1 | DEBIAN-CVE-2025-30673 |
| Debian:13 | libsub-handlesvia-perl | 0.050002-1 | DEBIAN-CVE-2025-30673 |
| Debian:14 | libsub-handlesvia-perl | 0.050002-1 | DEBIAN-CVE-2025-30673 |
| Ubuntu:22.04:LTS | libsub-handlesvia-perl | no fix listed | UBUNTU-CVE-2025-30673 |
| Ubuntu:24.04:LTS | libsub-handlesvia-perl | no fix listed | UBUNTU-CVE-2025-30673 |
| Ubuntu:25.10 | libsub-handlesvia-perl | no fix listed | UBUNTU-CVE-2025-30673 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| TOBYINK | Sub::HandlesVia | 0 – before 0.050002 |
Weakness: CWE-427 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N