CVE-2023-31485
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server,...
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.9
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
- Record
CVE-2023-31485- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
CVE List
5.9
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
- Record
CVE-2023-31485- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
EUVDEUVD-2023-35790
5.9
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
- Record
EUVD-2023-35790- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c2v8-3552-rp4m
5.9
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server,...
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
- Record
GHSA-c2v8-3552-rp4m- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSV
5.9
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
- Record
CVE-2023-31485- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-31485
5.9
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
- Record
DEBIAN-CVE-2023-31485- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-31485
5.9
GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.
- Record
UBUNTU-CVE-2023-31485- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libgitlab-api-v4-perlDebian:12 |
All versions, plus listed versions 0.26-30.27-1 |
None known |
libgitlab-api-v4-perlDebian:13 |
before 0.27-1 | 0.27-1 |
libgitlab-api-v4-perlDebian:14 |
before 0.27-1 | 0.27-1 |
libgitlab-api-v4-perlUbuntu:18.04:LTS |
All versions, plus listed versions 0.02-10.03-10.04-10.04-2 |
None known |
libgitlab-api-v4-perlUbuntu:20.04:LTS |
All versions, plus listed versions 0.21-10.23-10.25-1 |
None known |
libgitlab-api-v4-perlUbuntu:22.04:LTS |
All versions, plus listed versions 0.26-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-31485 is a medium vulnerability (CVSS 5.9) in Gitlab\ \, published April 28, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in libgitlab-api-v4-perl 0.27-1.
References
blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules
openwall.com/lists/oss-security/2023/04/18/14
github.com/bluefeet/GitLab-API-v4/pull/57
github.com/chansen/p5-http-tiny/pull/151
openwall.com/lists/oss-security/2023/04/29/1
openwall.com/lists/oss-security/2023/05/03/3
Show 8 moreShow less
openwall.com/lists/oss-security/2023/05/03/5
openwall.com/lists/oss-security/2023/05/07/2
nvd.nist.gov/vuln/detail/CVE-2023-31485
github.com/advisories/GHSA-c2v8-3552-rp4m
github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31485.json
security-tracker.debian.org/tracker/CVE-2023-31485
ubuntu.com/security/CVE-2023-31485
cve.org/CVERecord?id=CVE-2023-31485