Buffer Overflow Affecting kernel-obs-build package, versions <4.12.14-150.78.2


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES150-KERNELOBSBUILD-2669611
  • published14 Apr 2022
  • disclosed7 Dec 2021

Introduced: 7 Dec 2021

CVE-2021-38160  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade SLES:15.0 kernel-obs-build to version 4.12.14-150.78.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-obs-build package and not the kernel-obs-build package as distributed by SLES. See How to fix? for SLES:15.0 relevant fixed versions and status.

In drivers/char/virtio_console.c in the Linux kernel before 5.13.4, data corruption or loss can be triggered by an untrusted device that supplies a buf->len value exceeding the buffer size. NOTE: the vendor indicates that the cited data corruption is not a vulnerability in any existing use case; the length validation was added solely for robustness in the face of anomalous host OS behavior

CVSS Scores

version 3.1