Description (CNA)
DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location. The complete_table_name method builds the absolute table file path without checking whether the file is a symbolic link. A link inside the data directory can point to a table file at any path outside of the configured f_dir and f_dir_search directories. Callers of file-based drivers can read or write files outside of the data directory.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| HMBRAND / DBD::File | affected 0 before 1.651 |
CWE
CWE-22, CWE-59
References
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-mh3j-xwf4-jrqw
- https://metacpan.org/release/HMBRAND/DBI-1.651/changes
- https://github.com/perl5-dbi/dbi/commit/96d62dfe4528bf56fe13f413ed323d4252531728.patch
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.