Linux Kernel up to 4.19 phy-ocelot-serdes.c out-of-bounds

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.
6.4$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in Linux Kernel up to 4.19. The affected element is an unknown function of the file drivers/phy/mscc/phy-ocelot-serdes.c. Performing a manipulation results in out-of-bounds. This vulnerability is reported as CVE-2018-20854. The attack requires a local approach. No exploit exists. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in Linux Kernel up to 4.19 (Operating System). This affects some unknown processing of the file drivers/phy/mscc/phy-ocelot-serdes.c. The manipulation with an unknown input leads to a out-of-bounds vulnerability. CWE is classifying the issue as CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

An issue was discovered in the Linux kernel before 4.20. drivers/phy/mscc/phy-ocelot-serdes.c has an off-by-one error with a resultant ctrl->phys out-of-bounds read.

The weakness was disclosed 07/26/2019 as confirmed git commit (GIT Repository). The advisory is shared at git.kernel.org. This vulnerability is uniquely identified as CVE-2018-20854 since 07/26/2019. An attack has to be approached locally. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available. The reason for this vulnerability is this part of code:

for (i = 0; i <= SERDES_MAX; i++) {

Upgrading to version 4.20 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version. The vulnerability will be addressed with the following lines of code:

for (i = 0; i < SERDES_MAX; i++) {

The entries VDB-138838, VDB-138839, VDB-138853 and VDB-138854 are pretty similar. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.4

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

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 4.20
Patch: github.com

Timelineinfo

07/26/2019 🔍
07/26/2019 +0 days 🔍
07/26/2019 +0 days 🔍
11/13/2023 +1571 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: K32450233
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-20854 (🔍)
GCVE (CVE): GCVE-0-2018-20854
GCVE (VulDB): GCVE-100-138837
See also: 🔍

Entryinfo

Created: 07/26/2019 14:40
Updated: 11/13/2023 08:43
Changes: 07/26/2019 14:40 (63), 07/13/2020 09:33 (1), 11/13/2023 08:43 (4)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!