# 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.

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2023-04-28T00:00:00.000Z
- Modified: 2026-06-17T05:57:05.257Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

GitLab::API::v4 through 0.26 does not verify TLS certificates when connecting to a GitLab server, enabling machine-in-the-middle attacks.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gitlab::api::v4_project gitlab::api::v4: up to 0.26

## Every score

- CISA-ADP: 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`
- NVD: 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`

## References

- <https://blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules/> (mitigation, patch, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2023/04/18/14> (mailing-list, patch)
- <https://github.com/bluefeet/GitLab-API-v4/pull/57> (issue-tracking)
- <https://github.com/chansen/p5-http-tiny/pull/151> (issue-tracking)
- <http://www.openwall.com/lists/oss-security/2023/04/29/1> (mailing-list, patch)
- <http://www.openwall.com/lists/oss-security/2023/05/03/3> (mailing-list, patch)
- <http://www.openwall.com/lists/oss-security/2023/05/03/5> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2023/05/07/2> (mailing-list)

## Sources

- CVE List: [CVE-2023-31485](https://www.cve.org/CVERecord?id=CVE-2023-31485), CVE Terms of Use, modified 2025-01-31
- NVD: [CVE-2023-31485](https://nvd.nist.gov/vuln/detail/CVE-2023-31485), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-31485 · Whole record: https://cve.day/CVE-2023-31485.json · Rebuilt by cve.day 2026-11-25T22:58:23.834Z
