CGI versions before 5.00 for Perl return request-derived values untainted under taint mode.
The upload filename, uploadInfo values, some path_info and script_name values, Accept results, and the name lists from url_param and cookie are returned without the taint flag, as is a cookie named expires from 4.67 on.
These values come from regex captures or hash keys, which Perl does not taint, so they pass -T checks unvalidated.
The product does not use, or incorrectly uses, an input validation framework that is provided by the source language or an independent library.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | RedHat | perl-CGI-0:4.61-5.el10_3.1 | * |
| Red Hat Enterprise Linux 10.2 Extended Update Support | RedHat | perl-CGI-0:4.61-5.el10_2.1 | * |
| Red Hat Enterprise Linux 8 | RedHat | perl-CGI-0:4.38-3.el8_10 | * |
| Red Hat Enterprise Linux 9 | RedHat | perl-CGI-0:4.51-5.el9_9.1 | * |
| Red Hat Enterprise Linux 9.8 Extended Update Support | RedHat | perl-CGI-0:4.51-5.el9_8.1 | * |
| Libcgi-pm-perl | Ubuntu | upstream | * |