Skip to content

Commit

Permalink
security/vuxml: Register sysutils/node_exporter vulnerability
Browse files Browse the repository at this point in the history
CVE-2022-46146

Note that in

https://cgit.freebsd.org/ports/commit/?id=8b5d2b9a9ec7985158a814e2cdf9022d785b9090

three CVEs are mentioned: CVE-2022-27191 CVE-2022-27664 CVE-2022-46146

However, according to: prometheus/node_exporter#2488
node_exported is not really affected by those Go vulnerabilities. However
the dependencies were bumped anyway.
  • Loading branch information
fernape committed Feb 4, 2023
1 parent d30ecd9 commit 5544ae8
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions security/vuxml/vuln/2023.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
<vuln vid="d835c54f-a4bd-11ed-b6af-b42e991fc52e">
<topic>node_exporter -- bypass security with cache poisoning</topic>
<affects>
<package>
<name>node_exporter</name>
<range><lt>1.5.0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>Prometheus team reports:</p>
<blockquote cite="https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p">
<p>
Prometheus and its exporters can be secured by a web.yml file that
specifies usernames and hashed passwords for basic authentication.
Passwords are hashed with bcrypt, which means that even if you have
access to the hash, it is very hard to find the original password
back. Passwords are hashed with bcrypt, which means that even if you
have access to the hash, it is very hard to find the original
password back. However, a flaw in the way this mechanism was
implemented in the exporter toolkit makes it possible with people
who know the hashed password to authenticate against Prometheus.
A request can be forged by an attacker to poison the internal cache
used to cache the computation of hashes and make subsequent requests
successful. This cache is used in both happy and unhappy scenarios
in order to limit side channel attacks that could tell an attacker
if a user is present in the file or not.
</p>
</blockquote>
</body>
</description>
<references>
<cvename>CVE-2022-46146</cvename>
<url>https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46146</url>
</references>
<dates>
<discovery>2021-11-28</discovery>
<entry>2023-02-04</entry>
</dates>
</vuln>

<vuln vid="8dd438ed-a338-11ed-b48b-589cfc0f81b0">
<topic>Asterisk -- multiple vulnerabilities</topic>
<affects>
Expand Down

0 comments on commit 5544ae8

Please sign in to comment.