perl-DBI:1.641 security update
エラータID: AXSA:2026-2391: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+99c0509f.src.rpm
MD5: 9bc965d68f3a4d263db03cfdc4ac5b9c
SHA-256: abb6b72c9f22c7c3bac2803f1f523532e5408f0b7d862bc800244002cee0a1ce
Size: 626.61 kB
Asianux Server 8 for x86_64
- perl-DBI-1.641-12.module+el8+2086+99c0509f.x86_64.rpm
MD5: 86af45c4cfe9c6cebd5d5534647dc349
SHA-256: 8f598302f315c823732e9bc562ced4d8fb245ec6f5032ae988062521a3821a00
Size: 739.73 kB - perl-DBI-debugsource-1.641-12.module+el8+2086+99c0509f.x86_64.rpm
MD5: 8f45525b3ba887e47289c25cfee3e2d5
SHA-256: 2d6f1a6783807c8208f5c7e023b1e29cc5efbe26bee813da3ae45b240c11a90f
Size: 123.19 kB