ubuntu-cve-2022-46146
Vulnerability from osv_ubuntu
Published
2022-11-29 14:15
Modified
2026-07-02 15:52
Summary
Details

Prometheus Exporter Toolkit is a utility package to build exporters. Prior to versions 0.7.2 and 0.8.2, if someone has access to a Prometheus web.yml file and users' bcrypted passwords, they can bypass security by poisoning the built-in authentication cache. Versions 0.7.2 and 0.8.2 contain a fix for the issue. There is no workaround, but attacker must have access to the hashed password to use this functionality.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "prometheus",
            "binary_version": "0.16.2+ds-1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "prometheus",
        "purl": "pkg:deb/ubuntu/prometheus@0.16.2+ds-1ubuntu1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.14.0+ds-1",
        "0.16.2+ds-1",
        "0.16.2+ds-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "prometheus",
            "binary_version": "2.1.0+ds-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "prometheus",
        "purl": "pkg:deb/ubuntu/prometheus@2.1.0+ds-1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.1+ds-1",
        "1.8.1+ds-2",
        "2.1.0+ds-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "prometheus",
            "binary_version": "2.15.2+ds-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "prometheus",
        "purl": "pkg:deb/ubuntu/prometheus@2.15.2+ds-2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.7.1+ds-3",
        "2.15.2+ds-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-prometheus-exporter-toolkit-dev",
            "binary_version": "0.7.1-1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "golang-github-prometheus-exporter-toolkit",
        "purl": "pkg:deb/ubuntu/golang-github-prometheus-exporter-toolkit@0.7.1-1ubuntu1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.5.1-2",
        "0.7.0-1",
        "0.7.0-2",
        "0.7.1-1",
        "0.7.1-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "prometheus",
            "binary_version": "2.31.2+ds1-1ubuntu1.22.04.3+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "prometheus",
        "purl": "pkg:deb/ubuntu/prometheus@2.31.2+ds1-1ubuntu1.22.04.3+esm3?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.24.1+ds-1ubuntu1",
        "2.24.1+ds-1ubuntu2",
        "2.31.1+ds2-2",
        "2.31.2+ds1-1",
        "2.31.2+ds1-1ubuntu1",
        "2.31.2+ds1-1ubuntu1.22.04.1",
        "2.31.2+ds1-1ubuntu1.22.04.2",
        "2.31.2+ds1-1ubuntu1.22.04.3",
        "2.31.2+ds1-1ubuntu1.22.04.3+esm1",
        "2.31.2+ds1-1ubuntu1.22.04.3+esm2",
        "2.31.2+ds1-1ubuntu1.22.04.3+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "prometheus",
            "binary_version": "2.45.3+ds-2ubuntu0.3+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "prometheus",
        "purl": "pkg:deb/ubuntu/prometheus@2.45.3+ds-2ubuntu0.3+esm2?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.45.0+ds-3build1",
        "2.45.1+ds-1",
        "2.45.1+ds-2",
        "2.45.1+ds-3",
        "2.45.3+ds-2",
        "2.45.3+ds-2build1",
        "2.45.3+ds-2ubuntu0.1",
        "2.45.3+ds-2ubuntu0.2",
        "2.45.3+ds-2ubuntu0.2+esm1",
        "2.45.3+ds-2ubuntu0.2+esm2",
        "2.45.3+ds-2ubuntu0.3",
        "2.45.3+ds-2ubuntu0.3+esm1",
        "2.45.3+ds-2ubuntu0.3+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-prometheus-prometheus-dev",
            "binary_version": "2.53.3+ds1-2"
          },
          {
            "binary_name": "prometheus",
            "binary_version": "2.53.3+ds1-2"
          },
          {
            "binary_name": "promtool",
            "binary_version": "2.53.3+ds1-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "prometheus",
        "purl": "pkg:deb/ubuntu/prometheus@2.53.3+ds1-2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.53.3+ds1-1",
        "2.53.3+ds1-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-github-prometheus-prometheus-dev",
            "binary_version": "2.53.5+ds1-3ubuntu0.26.04.1~esm1"
          },
          {
            "binary_name": "prometheus",
            "binary_version": "2.53.5+ds1-3ubuntu0.26.04.1~esm1"
          },
          {
            "binary_name": "promtool",
            "binary_version": "2.53.5+ds1-3ubuntu0.26.04.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:26.04:LTS",
        "name": "prometheus",
        "purl": "pkg:deb/ubuntu/prometheus@2.53.5+ds1-3ubuntu0.26.04.1~esm1?arch=source\u0026distro=esm-apps/resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.53.3+ds1-2",
        "2.53.5+ds1-2",
        "2.53.5+ds1-3",
        "2.53.5+ds1-3ubuntu0.26.04.1~esm1"
      ]
    }
  ],
  "aliases": [],
  "details": "Prometheus Exporter Toolkit is a utility package to build exporters. Prior to versions 0.7.2 and 0.8.2, if someone has access to a Prometheus web.yml file and users\u0027 bcrypted passwords, they can bypass security by poisoning the built-in authentication cache. Versions 0.7.2 and 0.8.2 contain a fix for the issue. There is no workaround, but attacker must have access to the hashed password to use this functionality.",
  "id": "UBUNTU-CVE-2022-46146",
  "modified": "2026-07-02T15:52:32Z",
  "published": "2022-11-29T14:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-46146"
    },
    {
      "type": "REPORT",
      "url": "https://www.openwall.com/lists/oss-security/2022/11/29/1"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2022/11/29/1"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2022/11/29/2"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2022/11/29/4"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2022-46146"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2022-46146"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…