Skip to content

The escape_dangerous_chars function in CGI::Lite 2.0 and...

Moderate severity Unreviewed Published Apr 29, 2022 to the GitHub Advisory Database • Updated Jan 30, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

The escape_dangerous_chars function in CGI::Lite 2.0 and earlier does not correctly remove special characters including (1) "" (backslash), (2) "?", (3) "~" (tilde), (4) "^" (carat), (5) newline, or (6) carriage return, which could allow remote attackers to read or write arbitrary files, or execute arbitrary commands, in shell scripts that rely on CGI::Lite to filter such dangerous inputs.

References

Published by the National Vulnerability Database Dec 31, 2003
Published to the GitHub Advisory Database Apr 29, 2022
Last updated Jan 30, 2023

Severity

Moderate

EPSS score

0.577%
(78th percentile)

Weaknesses

CVE ID

CVE-2003-1365

GHSA ID

GHSA-2fjp-fr4m-265h

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.