Vulnerability · Published Apr 28, 2023 · Assigned by mitre
CVE-2023-31485
Medium 5.9
In plain English
A medium-severity improper certificate validation in the libgitlab-api-v4-perl package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.7%top 48.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libgitlab-api-v4-perl | no fix listed | DEBIAN-CVE-2023-31485 |
| Debian:13 | libgitlab-api-v4-perl | 0.27-1 | DEBIAN-CVE-2023-31485 |
| Debian:14 | libgitlab-api-v4-perl | 0.27-1 | DEBIAN-CVE-2023-31485 |
| Ubuntu:22.04:LTS | libgitlab-api-v4-perl | no fix listed | UBUNTU-CVE-2023-31485 |
Affected products (as reported)
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules/
- https://www.openwall.com/lists/oss-security/2023/04/18/14
- https://github.com/bluefeet/GitLab-API-v4/pull/57
- https://github.com/chansen/p5-http-tiny/pull/151
- [oss-security] 20230429 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules mailing-list
- [oss-security] 20230503 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules mailing-list
- [oss-security] 20230503 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules mailing-list
- [oss-security] 20230507 Re: Perl's HTTP::Tiny has insecure TLS cert default, affecting CPAN.pm and other modules mailing-list