perl-DBI:1.641 security update
エラータID: AXSA:2026-2389:01
The perl-DBI package provides the standard database interface module for the Perl programming language. It implements a database-independent interface, meaning it defines a consistent set of methods, variables, and conventions for database operations.
Security Fix(es):
* perl-DBI: DBI: Loading of arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM (CVE-2026-78030)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
CVE-2026-78030
DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM. DBD::DBM passes the dbm_type and dbm_mldbm connect attributes to require without checking that the value names a module. require treats a path-shaped string as a literal filename and does not consult @INC, so the attribute chooses the file that Perl loads and runs. The MLDBM::Serializer:: prefix that DBD::DBM prepends to dbm_mldbm is not a boundary: only the :: separators are rewritten to /, so a value containing / traverses out of the serializer directory. The value is also assigned to $MLDBM::Serializer, which MLDBM requires the same way when it ties the table. A caller that lets an untrusted party influence either attribute, for example through a DSN fragment or a parameter that selects a storage backend, runs the file-scope code of whatever module the value names. For example, my $dsn = "dbi:DBM:f_dir=/var/db;dbm_type=../../Untrusted.pm" my $dbh = DBI->connect( $dsn ); Note that DBD::Gofer forwards connect attributes to the server side, and DBI::ProxyServer checks only that a DSN starts with a driver prefix.
Modularity name: "perl-DBI"
Stream name: "1.641"
Update packages.
DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM. DBD::DBM passes the dbm_type and dbm_mldbm connect attributes to require without checking that the value names a module. require treats a path-shaped string as a literal filename and does not consult @INC, so the attribute chooses the file that Perl loads and runs. The MLDBM::Serializer:: prefix that DBD::DBM prepends to dbm_mldbm is not a boundary: only the :: separators are rewritten to /, so a value containing / traverses out of the serializer directory. The value is also assigned to $MLDBM::Serializer, which MLDBM requires the same way when it ties the table. A caller that lets an untrusted party influence either attribute, for example through a DSN fragment or a parameter that selects a storage backend, runs the file-scope code of whatever module the value names. For example, my $dsn = "dbi:DBM:f_dir=/var/db;dbm_type=../../Untrusted.pm" my $dbh = DBI->connect( $dsn ); Note that DBD::Gofer forwards connect attributes to the server side, and DBI::ProxyServer checks only that a DSN starts with a driver prefix.
N/A
SRPMS
- perl-DBI-1.641-12.module+el8+2086+e9e2feab.src.rpm
MD5: 5fb1d74d73a4ff9ebe4d2732e7060789
SHA-256: b1712ea96efc09fc8b7e20821c45fc898b6f19b53ba2bfa596189e982af1698d
Size: 626.61 kB
Asianux Server 8 for x86_64
- perl-DBI-1.641-12.module+el8+2086+e9e2feab.x86_64.rpm
MD5: fa55fbddb6f3ab180dcb13ec00e0fe00
SHA-256: 7f4845e1f105f0dc08cf0afc4ae4c8619bf186435fad97f29c55d869242dbd5d
Size: 740.88 kB - perl-DBI-debugsource-1.641-12.module+el8+2086+e9e2feab.x86_64.rpm
MD5: e5eab1eaba03fe9edfe827dc000771e6
SHA-256: b77e1b88e8b1b417f778efe9665f2023c113d5d135396bfae0b62e6eae414268
Size: 123.19 kB