DBI 1.51 Deleted
Security Advisories
CVE-2020-14393
A buffer overflow was found in perl-DBI < 1.643 in DBI.xs. A local attacker who is able to supply a string longer than 300 characters could cause an out-of-bounds write, affecting the availability of the service or integrity of data.
Fixed version: >=1.643
Severity: high
Reported: 2020-09-16
CVE-2020-14392
An untrusted pointer dereference flaw was found in Perl-DBI < 1.643. A local attacker who is able to manipulate calls to dbd_db_login6_sv() could cause memory corruption, affecting the service's availability.
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXLKODJ7B57GITDEZZXNSHPK4VBYXYHR/
- https://bugzilla.redhat.com/show_bug.cgi?id=1877402
- https://bugzilla.redhat.com/show_bug.cgi?id=1877402
- https://lists.debian.org/debian-lts-announce/2020/09/msg00026.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00067.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00074.html
- https://usn.ubuntu.com/4503-1/
Fixed version: >=1.643
Severity: high
Reported: 2020-06-17
CVE-2019-20919
An issue was discovered in the DBI module before 1.643 for Perl. The hv_fetch() documentation requires checking for NULL and the code does that. But, shortly thereafter, it calls SvOK(profile), causing a NULL pointer dereference.
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXLKODJ7B57GITDEZZXNSHPK4VBYXYHR/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20919
- https://github.com/perl5-dbi/dbi/commit/eca7d7c8f43d96f6277e86d1000e842eb4cc67ff
- https://bugzilla.redhat.com/show_bug.cgi?id=1877405
- https://lists.debian.org/debian-lts-announce/2020/09/msg00026.html
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/US6VXPKVAYHOKNFSAFLM3FWNYZSJKQHS/
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/KJN7E27GD6QQ2CRGEJ3TNW2DJFXA2AKN/
- https://ubuntu.com/security/notices/USN-4534-1
Fixed version: >=1.643
Severity: high
Reported: 2020-09-17
DBD::File drivers open files from folders other than specifically passed using the f_dir attribute.
Fixed version: >=1.632
Severity: high
Reported: 2014-10-15
CVE-2014-10402
An issue was discovered in the DBI module through 1.643 for Perl. DBD::File drivers can open files from folders other than those specifically passed via the f_dir attribute in the data source name (DSN). NOTE: this issue exists because of an incomplete fix for CVE-2014-10401.
Severity: medium
Reported: 2020-09-16
CVE-2014-10401
An issue was discovered in the DBI module before 1.632 for Perl. DBD::File drivers can open files from folders other than those specifically passed via the f_dir attribute.
- https://rt.cpan.org/Public/Bug/Display.html?id=99508
- https://github.com/perl5-dbi/dbi/commit/caedc0d7d602f5b2ae5efc1b00f39efeafb7b05a
- https://usn.ubuntu.com/4509-1/
Severity: medium
Reported: 2020-09-11
CVE-2013-7491
An issue was discovered in the DBI module before 1.628 for Perl. Stack corruption occurs when a user-defined function requires a non-trivial amount of memory and the Perl stack gets reallocated.
- https://github.com/perl5-dbi/dbi/commit/401f1221311c71f760e21c98772f0f7e3cbead1d
- https://rt.cpan.org/Public/Bug/Display.html?id=85562
Severity: medium
Reported: 2020-09-11
CVE-2013-7490
An issue was discovered in the DBI module before 1.632 for Perl. Using many arguments to methods for Callbacks may lead to memory corruption.
- https://github.com/perl5-dbi/dbi/commit/a8b98e988d6ea2946f5f56691d6d5ead53f65766
- https://rt.cpan.org/Public/Bug/Display.html?id=86744#txn-1880941
- https://usn.ubuntu.com/4509-1/
Severity: medium
Reported: 2020-09-11
Kwalitee Issues
- buildtool_not_executable
-
Change the permissions of Build.PL/Makefile.PL to not-executable.
- use_strict
-
Add 'use strict' (or its equivalents) to all modules, or convince us that your favorite module is well-known enough and people can easily see the modules are strictly written.
Error: Bundle::DBI, DBI::Const::GetInfo::ANSI, DBI::Const::GetInfo::ODBC, DBI::FAQ, DBI::ProfileDumper::Apache, Win32::DBIODBC
- meta_yml_declares_perl_version
-
If you are using Build.PL define the {requires}{perl} = VERSION field. If you are using MakeMaker (Makefile.PL) you should upgrade ExtUtils::MakeMaker to 6.48 and use MIN_PERL_VERSION parameter. Perl::MinimumVersion can help you determine which version of Perl your module needs.
- has_meta_json
-
Add a META.json to the distribution. Your buildtool should be able to autogenerate it.
- has_tests_in_t_dir
-
Add tests or move tests.pl to the t/ directory!
- meta_yml_has_license
-
Define the license if you are using in Build.PL. If you are using MakeMaker (Makefile.PL) you should upgrade to ExtUtils::MakeMaker version 6.31.
- use_warnings
-
Add 'use warnings' (or its equivalents) to all modules, or convince us that your favorite module is well-known enough and people can easily see the modules warn when something bad happens.
Error: Bundle::DBI, DBD::DBM, DBD::ExampleP, DBD::File, DBD::NullP, DBD::Proxy, DBD::Sponge, DBI, DBI::Const::GetInfo::ANSI, DBI::Const::GetInfo::ODBC, DBI::Const::GetInfoReturn, DBI::Const::GetInfoType, DBI::DBD, DBI::DBD::Metadata, DBI::FAQ, DBI::Profile, DBI::ProfileData, DBI::ProfileDumper, DBI::ProfileDumper::Apache, DBI::ProxyServer, DBI::PurePerl, DBI::W32ODBC, Win32::DBIODBC
- consistent_version
-
Split the distribution, or fix the version numbers to make them consistent (use the highest version number to avoid version downgrade).
Error: 0.03,0.2004,0.3005,0.33,0.38,1.0,1.03,1.04,1.05,1.07,1.1,1.51,11.03,11.04,11.10,11.12,11.22
- meta_yml_has_provides
-
Add all modules contained in this distribution to the META.yml field 'provides'. Module::Build or Dist::Zilla::Plugin::MetaProvides do this automatically for you.
- meta_yml_has_repository_resource
-
Add a 'repository' resource to the META.yml via 'meta_add' accessor (for Module::Build) or META_ADD parameter (for ExtUtils::MakeMaker).
- has_separate_license_file
-
This is not a critical issue. Currently mainly informative for the CPANTS authors. It might be removed later.
Modules
Name | Abstract | Version | View |
---|---|---|---|
Bundle::DBI | A bundle to install DBI and required modules. | 11.03 | metacpan |
DBD::DBM | a DBI driver for DBM & MLDBM files | 0.03 | metacpan |
DBD::ExampleP | 11.12 | metacpan | |
DBD::File | Base class for writing DBI drivers | 0.33 | metacpan |
DBD::NullP | 11.04 | metacpan | |
DBD::Proxy | A proxy driver for the DBI | 0.2004 | metacpan |
DBD::Sponge | Create a DBI statement handle from Perl data | 11.10 | metacpan |
DBI | Database independent interface for Perl | 1.51 | metacpan |
DBI::Const::GetInfo::ANSI | ISO/IEC SQL/CLI Constants for GetInfo | 1.03 | metacpan |
DBI::Const::GetInfo::ODBC | ODBC Constants for GetInfo | 1.03 | metacpan |
DBI::Const::GetInfoReturn | Data and functions for describing GetInfo results | 1.04 | metacpan |
DBI::Const::GetInfoType | Data describing GetInfo type codes | 1.05 | metacpan |
DBI::DBD | Perl DBI Database Driver Writer's Guide | 11.22 | metacpan |
DBI::DBD::Metadata | Generate the code and data for some DBI metadata methods | 1.05 | metacpan |
DBI::FAQ | The Frequently Asked Questions for the Perl5 Database Interface | 0.38 | metacpan |
DBI::Profile | Performance profiling and benchmarking for the DBI | 1.07 | metacpan |
DBI::ProfileData | manipulate DBI::ProfileDumper data dumps | 1.0 | metacpan |
DBI::ProfileDumper | profile DBI usage and output data to a file | 1.0 | metacpan |
DBI::ProfileDumper::Apache | capture DBI profiling data from Apache/mod_perl | 1.1 | metacpan |
DBI::ProxyServer | a server for the DBD::Proxy driver | 0.3005 | metacpan |
DBI::SQL::Nano | a very tiny SQL engine | 0.03 | metacpan |
Provides
Name | File | View |
---|---|---|
DBD::DBM::Statement | lib/DBD/DBM.pm | metacpan |
DBD::DBM::Table | lib/DBD/DBM.pm | metacpan |
DBD::DBM::db | lib/DBD/DBM.pm | metacpan |
DBD::DBM::dr | lib/DBD/DBM.pm | metacpan |
DBD::DBM::st | lib/DBD/DBM.pm | metacpan |
DBD::ExampleP::db | lib/DBD/ExampleP.pm | metacpan |
DBD::ExampleP::dr | lib/DBD/ExampleP.pm | metacpan |
DBD::ExampleP::st | lib/DBD/ExampleP.pm | metacpan |
DBD::File::Statement | lib/DBD/File.pm | metacpan |
DBD::File::Table | lib/DBD/File.pm | metacpan |
DBD::File::db | lib/DBD/File.pm | metacpan |
DBD::File::dr | lib/DBD/File.pm | metacpan |
DBD::File::st | lib/DBD/File.pm | metacpan |
DBD::NullP::db | lib/DBD/NullP.pm | metacpan |
DBD::NullP::dr | lib/DBD/NullP.pm | metacpan |
DBD::NullP::st | lib/DBD/NullP.pm | metacpan |
DBD::Proxy::RPC::PlClient | lib/DBD/Proxy.pm | metacpan |
DBD::Proxy::db | lib/DBD/Proxy.pm | metacpan |
DBD::Proxy::dr | lib/DBD/Proxy.pm | metacpan |
DBD::Proxy::st | lib/DBD/Proxy.pm | metacpan |
DBD::Sponge::db | lib/DBD/Sponge.pm | metacpan |
DBD::Sponge::dr | lib/DBD/Sponge.pm | metacpan |
DBD::Sponge::st | lib/DBD/Sponge.pm | metacpan |
DBDI | lib/DBI/DBD.pm | metacpan |
DBI::ProxyServer::db | lib/DBI/ProxyServer.pm | metacpan |
DBI::ProxyServer::dr | lib/DBI/ProxyServer.pm | metacpan |
DBI::ProxyServer::st | lib/DBI/ProxyServer.pm | metacpan |
DBI::SQL::Nano::Statement_ | lib/DBI/SQL/Nano.pm | metacpan |
DBI::SQL::Nano::Table_ | lib/DBI/SQL/Nano.pm | metacpan |
DBI::common | DBI.pm | metacpan |