CVE-2023-31485
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | libgitlab-api-v4-perl | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libgitlab-api-v4-perl | Will not fix Fixing this issue may introduce a regression when this package is used to interact with self-managed GitLab servers using self-signed certificates. | UBUNTU-CVE-2023-31485 | |
| Ubuntu 20.04 | libgitlab-api-v4-perl | Will not fix Fixing this issue may introduce a regression when this package is used to interact with self-managed GitLab servers using self-signed certificates. | UBUNTU-CVE-2023-31485 | |
| Ubuntu 18.04 | libgitlab-api-v4-perl | Will not fix Fixing this issue may introduce a regression when this package is used to interact with self-managed GitLab servers using self-signed certificates. | UBUNTU-CVE-2023-31485 | |
| Debian 14 | libgitlab-api-v4-perl | Fixed | 0.27-1 | DEBIAN-CVE-2023-31485 |
| Debian 13 | libgitlab-api-v4-perl | Fixed | 0.27-1 | DEBIAN-CVE-2023-31485 |
| Debian 12 | libgitlab-api-v4-perl | Fix pending | DEBIAN-CVE-2023-31485 |
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
- http://www.openwall.com/lists/oss-security/2023/04/29/1
- http://www.openwall.com/lists/oss-security/2023/05/03/3
- http://www.openwall.com/lists/oss-security/2023/05/03/5
- http://www.openwall.com/lists/oss-security/2023/05/07/2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.