MariaDB up to 10.6.4 sql_lex.cc integer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in MariaDB up to 10.6.4. This affects an unknown part of the file sql_lex.cc. Executing a manipulation can lead to integer overflow. This vulnerability is registered as CVE-2021-46667. It is possible to launch the attack remotely. No exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in MariaDB up to 10.6.4 (Database Software). It has been declared as critical. This vulnerability affects some unknown functionality of the file sql_lex.cc. The manipulation with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. As an impact it is known to affect availability.

The weakness was published 02/01/2022 as MDEV-26350. The advisory is shared for download at jira.mariadb.org. This vulnerability was named CVE-2021-46667 since 02/01/2022. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 236627 (Alibaba Cloud Linux 3 : 0034: mariadb:10.5 (ALINUX3-SA-2022:0034)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 10.6.5 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (236627). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Integer overflow
CWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 236627
Nessus Name: Alibaba Cloud Linux 3 : 0034: mariadb:10.5 (ALINUX3-SA-2022:0034)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: MariaDB 10.6.5

Timelineinfo

02/01/2022 🔍
02/01/2022 +0 days 🔍
02/01/2022 +0 days 🔍
05/19/2025 +1203 days 🔍

Sourcesinfo

Advisory: MDEV-26350
Status: Confirmed

CVE: CVE-2021-46667 (🔍)
GCVE (CVE): GCVE-0-2021-46667
GCVE (VulDB): GCVE-100-192040

Entryinfo

Created: 02/01/2022 08:04
Updated: 05/19/2025 23:34
Changes: 02/01/2022 08:04 (40), 02/04/2022 08:40 (1), 05/19/2025 23:34 (16)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!