HMBRAND DBD::File
DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by CISA ADP · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
HMBRAND DBD::File
- < 1.651
Fixed in 1.651
Mitigation
Upgrade to version 1.651 or later.
References
- Vendor advisory github.com/perl5-dbi/dbi/security/advisories/G…
- Release notes metacpan.org/release/HMBRAND/DBI-1.651/changes
- Patch github.com/perl5-dbi/dbi/commit/96d62dfe4528bf…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.