CVE-2022-41715 Affecting golang-github-prometheus-prometheus package, versions <2.45.6-150100.4.20.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.02% (3rd 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-SLES156-GOLANGGITHUBPROMETHEUSPROMETHEUS-8022940
  • published18 Sept 2024
  • disclosed17 Sept 2024

Introduced: 17 Sep 2024

CVE-2022-41715  (opens in a new tab)

How to fix?

Upgrade SLES:15.6 golang-github-prometheus-prometheus to version 2.45.6-150100.4.20.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-prometheus-prometheus package and not the golang-github-prometheus-prometheus package as distributed by SLES. See How to fix? for SLES:15.6 relevant fixed versions and status.

Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.

CVSS Base Scores

version 3.1