CVE-2023-47039 Details
Description
A vulnerability was found in Perl. This security issue occurs while Perl for Windows relies on the system path environment variable to find the shell (`cmd.exe`). When running an executable that uses the Windows Perl interpreter, Perl attempts to find and execute `cmd.exe` within the operating system. However, due to path search order issues, Perl initially looks for cmd.exe in the current working directory. This flaw allows an attacker with limited privileges to place`cmd.exe` in locations with weak permissions, such as `C:\ProgramData`. By doing so, arbitrary code can be executed when an administrator attempts to use this executable from these compromised locations.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 2, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2023-47039 | CVE | Third Party Advisory |
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746 | CVE | Mailing ListPatch |
| https://bugzilla.redhat.com/show_bug.cgi?id=2249525 | CVE | Issue Tracking |
| https://perldoc.perl.org/perl5382delta#CVE-2023-47039-Perl-for-Windows-binary-hijacking-vulnerability | CVE | |
| https://security.netapp.com/advisory/ntap-20240208-0005/ | CVE | |
| https://access.redhat.com/security/cve/CVE-2023-47039 | [email protected] | Third Party Advisory |
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746 | [email protected] | Mailing ListPatch |
| https://bugzilla.redhat.com/show_bug.cgi?id=2249525 | [email protected] | Issue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| perl perl | < 5.32.1 |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Nov 6, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 28, 2024 | CVE Modified | [email protected] |
| Feb 8, 2024 | CVE Modified | [email protected] |
| Jan 8, 2024 | Initial Analysis | [email protected] |
| Jan 2, 2024 | New CVE Received | [email protected] |