CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename. header(...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSlibcgi-pm-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlibcgi-pm-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibcgi-pm-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibcgi-pm-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibcgi-pm-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libcgi-pm-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibcgi-pm-perl |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename. header(-attachment => $name) writes $name into the quoted filename parameter of Content-Disposition without escaping double quotes. An application that passes request data as the attachment name can be made to send a second filename parameter, changing the name the response is saved under.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org
- report github.com
- report github.com
- report metacpan.org
- report metacpan.org