Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.9
CVE-2023-31485: debian/libgitlab-api-v4-perl may trust fake certificates
CVE-2023-31485 · published 3 years ago
Summary
The Perl library used to talk to GitLab (versions up to 0.26) does not check the authenticity of TLS certificates. An attacker who can intercept the network could pretend to be the GitLab server and read or modify data. Upgrade the library to a newer version or configure it to enforce proper certificate verification.
What to do
- Update debian libgitlab-api-v4-perl to version 0.27-1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:12 | debian | libgitlab-api-v4-perl | All versions |
| Debian:13 | debian | libgitlab-api-v4-perl |
< 0.27-1 Fix: upgrade to 0.27-1
|
| Debian:14 | debian | libgitlab-api-v4-perl |
< 0.27-1 Fix: upgrade to 0.27-1
|
| – | gitlab\ | \ |
api\ cpe:2.3:a:gitlab\:\:api\:\:v4_project:gitlab\:\:api\:\:v4:*:*:*:*:*:*:*:* |
Original advisory text
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
References
- https://www.openwall.com/lists/oss-security/2023/04/18/14 URL
- https://github.com/bluefeet/GitLab-API-v4/pull/57 Patch
- https://github.com/chansen/p5-http-tiny/pull/151 Patch
- http://www.openwall.com/lists/oss-security/2023/04/29/1 Third Party Advisory
- http://www.openwall.com/lists/oss-security/2023/05/03/3 Third Party Advisory
- http://www.openwall.com/lists/oss-security/2023/05/03/5 Third Party Advisory
- http://www.openwall.com/lists/oss-security/2023/05/07/2 Third Party Advisory
- https://blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modul... Third Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2023-31485 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31485... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-31485 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Severity
5.9
Medium
Type
CWE-295Improper Certificate Validation
Timeline
Published29 Apr 2023
Updated4 Nov 2026
First seen15 Sep 2026
Track software like this
Free during beta