Cloudanix VulnDB

CVE-2020-8231

High · 7.5

CVSS

7.5

EPSS

5.3%

Published

Dec 14, 2020

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in GitLab software could let outsiders see private login details or other secret information that should stay hidden.

Exploit Available
Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Exposure
Component
Library
Class
Information Disclosure
Remediation
Upgrade
Effort
Low
Patch risk
Low

What it actually does

The flaw permits unauthorized exposure of sensitive data such as credentials or session tokens through improper argument validation in the underlying curl library when processing certain HTTP requests or redirects.

Why it matters to the business

Organizations running affected GitLab Bitnami deployments risk leakage of authentication material and confidential information, potentially enabling account takeover or further compromise; although published over 2123 days ago with modest EPSS, an exploit is publicly available so unpatched instances remain at risk.

How an attack unfolds

An attacker sends a crafted HTTP request or redirect sequence to a vulnerable GitLab instance; the bundled curl library mishandles option arguments, resulting in leakage of internal data in responses or error conditions that the attacker can observe.

How to fix it

Upgrade gitlab (Bitnami) to version 14.4.5 or later; verify the curl component is also updated to a non-vulnerable release and restart services after the upgrade.

How to confirm the fix worked

Confirm the running GitLab Bitnami package reports version 14.4.5 or higher; attempt a reproduction request that previously triggered disclosure and verify no sensitive data appears in responses.

Typical attack path

  1. Scan for publicly reachable GitLab Bitnami instances
  2. Craft and send HTTP request or redirect chain targeting the curl setopt path
  3. Observe server responses or side channels for leaked credentials or tokens
  4. Reuse obtained material to authenticate or pivot within the application

How to detect it

Inspect web server and application logs for unusual redirect patterns or requests that return unexpected internal data; correlate with any observed use of previously unknown credentials or tokens.

What your security team should do

  • Prioritize upgrade of all GitLab Bitnami deployments to 14.4.5+
  • Review authentication logs for anomalous token usage after patching
  • Apply network segmentation to limit exposure of GitLab instances until patched

The record

Due to use of a dangling pointer, libcurl 7.29.0 through 7.71.1 can use the wrong connection when sending data.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 curl 0 7.66.0-r2
Alpine:v3.11 curl 0 7.67.0-r2
Alpine:v3.12 curl 0 7.69.1-r2
Alpine:v3.13 curl 0 7.72.0-r0
Alpine:v3.14 curl 0 7.72.0-r0
Alpine:v3.15 curl 0 7.72.0-r0
Alpine:v3.16 curl 0 7.72.0-r0
Alpine:v3.17 curl 0 7.72.0-r0
Alpine:v3.18 curl 0 7.72.0-r0
Alpine:v3.19 curl 0 7.72.0-r0
Alpine:v3.20 curl 0 7.72.0-r0
Alpine:v3.21 curl 0 7.72.0-r0
Alpine:v3.22 curl 0 7.72.0-r0
Alpine:v3.9 curl 0 7.66.0-r5
Debian:10 curl 0 7.64.0-4+deb10u2
Debian:11 curl 0 7.72.0-1
Debian:12 curl 0 7.72.0-1
Debian:13 curl 0 7.72.0-1
Debian:9 curl 0 7.52.1-5+deb9u12
Mageia:7 curl 0 7.71.0-1.1.mga7
Red Hat:enterprise_linux:8::baseos curl 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos curl-debuginfo 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos curl-debugsource 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos curl-minimal-debuginfo 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl-debuginfo 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl-devel 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl-minimal 0 0:7.61.1-18.el8
Red Hat:enterprise_linux:8::baseos libcurl-minimal-debuginfo 0 0:7.61.1-18.el8
Rocky Linux:8 curl 0 0:7.61.1-18.el8
SUSE:Linux Enterprise Module for Basesystem 15 SP1 curl 0 7.60.0-3.32.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 curl 0 7.66.0-4.6.1
SUSE:Linux Enterprise Server 11-SECURITY curl-openssl1 0 7.37.0-70.52.2
SUSE:Linux Enterprise Server 12 SP4-LTSS curl 0 7.60.0-4.20.1
SUSE:Linux Enterprise Server 12 SP5 curl 0 7.60.0-11.6.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 curl 0 7.60.0-4.20.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 curl 0 7.60.0-11.6.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 curl 0 7.60.0-11.6.1
SUSE:OpenStack Cloud 9 curl 0 7.60.0-4.20.1
SUSE:OpenStack Cloud Crowbar 9 curl 0 7.60.0-4.20.1
Ubuntu:14.04:LTS curl 0 7.35.0-1ubuntu2.20+esm5
Ubuntu:16.04:LTS curl 0 7.47.0-1ubuntu2.16
Ubuntu:16.04:LTS curl 0 7.47.0-1ubuntu2.18
Ubuntu:18.04:LTS curl 0 7.58.0-2ubuntu3.10
Ubuntu:18.04:LTS curl 0 7.58.0-2ubuntu3.12
Ubuntu:20.04:LTS curl 0 7.68.0-1ubuntu2.2
Ubuntu:20.04:LTS curl 0 7.68.0-1ubuntu2.4
Ubuntu:Pro:14.04:LTS curl 0 7.35.0-1ubuntu2.20+esm5
conan libcurl 7.29.0 No fix
openSUSE:Leap 15.1 curl 0 7.60.0-lp151.5.15.1
openSUSE:Leap 15.1 curl-mini 0 7.60.0-lp151.5.15.1
openSUSE:Leap 15.2 curl 0 7.66.0-lp152.3.6.1
openSUSE:Leap 15.2 curl 0 7.66.0-lp152.3.9.1
openSUSE:Leap 15.2 curl-mini 0 7.66.0-lp152.3.9.1
openSUSE:Tumbleweed curl 0 7.79.1-1.1

Related vulnerabilities