Cybersecurity news

Jessica Doner

Back to the list

Critical GitLab Bugs Let Attackers Execute Code Through Malicious CI/CD Regex

Cyber Security News,

GitLab released emergency updates to fix two critical bugs that let attackers run code on servers using malicious regular expressions in CI/CD configurations.

Vulnerabilities and patches

Overview

GitLab released emergency security updatesA software update released by a developer to fix a bug or close a security flaw to fix two critical vulnerabilitiesA flaw in software or hardware that lets an attacker do something the maker did not intend that allow attackers to run code on serversA computer or program on a network that stores data and responds to requests from client devices. These flaws affect GitLab Community Edition and Enterprise Edition installations. The bugs let authenticated usersA person or account that has already signed in with valid credentials execute arbitrary code by using specially crafted regular expressionsA compact pattern string used by software to match, search, or filter text in CI/CD configurationsA text file that stores settings, network addresses, and options for how a program or server runs. One issue is a double-free vulnerability in the regular expression parser, while the other is an integer overflowA math bug where a number in a program grows larger than its storage size and wraps around in the regular expression compiler. Both problems have a CVSS scoreThe standard rating scale used to score how severe a software security flaw is of 9.9, which indicates severe consequences for system security. Self-managed instances must upgrade to versions 19.4.1, 19.3.3, or 19.2.7 immediately to fix the issues.

Terms in this story

security updates
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
servers
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
authenticated user
A person or account that has already signed in with valid credentials. Some vulnerabilities cannot be triggered by a stranger on the internet and instead require an authenticated user who already holds at least a basic account on the system.
regular expressions
A compact pattern string used by software to match, search, or filter text. Security scanners and firewalls use a regular expression to spot leaked API keys or malicious input, though a poorly written pattern can stall a server when fed crafted text.
configurations
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
integer overflow
A math bug where a number in a program grows larger than its storage size and wraps around. In an integer overflow, adding to a maximum value wraps the number back to zero or a negative value, which can trick a program into allocating a tiny memory buffer.
CVSS score
The standard rating scale used to score how severe a software security flaw is. Security advisories include a CVSS rating from low to critical based on how easy a bug is to exploit and how much damage it allows. Security+ objective 4.3 lists the term
CVE
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
exploit
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
memory corruption
A class of software bugs where a program accidentally overwrites or misreads its own working memory. Buffer overflows and use-after-free bugs are forms of memory corruption that can crash an application or let an attacker redirect the processor to run malicious code. Security+ objective 2.3 lists the term
bug bounty program
A reward program where a company pays independent researchers who responsibly report security flaws in its systems. Through a bug bounty program, ethical hackers can test a company's websites and apps under clear rules and earn cash rewards for finding bugs before criminals do. Security+ objective 4.3 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.

Read the full article on Cyber Security News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related