<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 14:23:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-47829 — pnpm uses the md5 path shortening function causes packet paths to coincide, which causes indirect packet overwriting</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-47829</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pnpm&lt;/p&gt;
&lt;p&gt;pnpm is a package manager. Prior to version 10.0.0, the path shortening function uses the md5 function as a path shortening compression function, and if a collision occurs, it will result in the same storage path for two different libraries. Although the real names are under the package name /node_modoules/, there are no version numbers for the libraries they refer to. This issue has been patched in version 10.0.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pnpm&lt;/p&gt;
&lt;p&gt;pnpm is a package manager. Prior to version 10.0.0, the path shortening function uses the md5 function as a path shortening compression function, and if a collision occurs, it will result in the same storage path for two different libraries. Although the real names are under the package name /node_modoules/, there are no version numbers for the libraries they refer to. This issue has been patched in version 10.0.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-47829</guid>
    </item>
    <item>
      <title>GHSA-8cc4-rfj6-fhg4 — pnpm uses the md5 path shortening function causes packet paths to coincide, which causes indirect packet overwriting</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-8cc4-rfj6-fhg4</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: pnpm&lt;/p&gt;
&lt;p&gt;The path shortening function is used in pnpm：
```
export function depPathToFilename (depPath: string, maxLengthWithoutHash: number): string {
  let filename = depPathToFilenameUnescaped(depPath).replace(/[\\/:*?&amp;#34;&amp;lt;&amp;gt;|]/g, &amp;#39;+&amp;#39;)
  if (filename.includes(&amp;#39;(&amp;#39;)) {
    filename = filename
      .replace(/\)$/, &amp;#39;&amp;#39;)
      .replace(/(\)\()|\(|\)/g, &amp;#39;_&amp;#39;)
  }
  if (filename.length &amp;gt; maxLengthWithoutHash || filename !== filename.toLowerCase() &amp;amp;&amp;amp; !filename.startsWith(&amp;#39;file+&amp;#39;)) {
    return `${filename.substring(0, maxLengthWithoutHash - 27)}_${createBase32Hash(filename)}`
  }
  return filename
}
```
However, it uses the md5 function as a path shortening compression function, and if a collision occurs, it will result in the same storage path for two different libraries. Although the real names are under the package name /node_modoules/, there are no version numbers for the libraries they refer to.
![Schematic picture](https://github.com/user-attachments/assets/7b8b87ab-f297-47bd-a9dd-43be86e36ed2)
In the diagram, we assume that two packages are called packageA and packageB, and that the first 90 digits of their package names must be the same, and that the hash value of the package names with versions must be the same.  Then C is the package that they both reference, but with a different version number.  (npm allows package names up to 214 bytes, so constructing such a collision package name is obvious.)&lt;/p&gt;
&lt;p&gt;Then hash(packageA@1.2.3)=hash(packageB@3.4.5).  This results in the same path for the i…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: pnpm&lt;/p&gt;
&lt;p&gt;The path shortening function is used in pnpm：
```
export function depPathToFilename (depPath: string, maxLengthWithoutHash: number): string {
  let filename = depPathToFilenameUnescaped(depPath).replace(/[\\/:*?&amp;#34;&amp;lt;&amp;gt;|]/g, &amp;#39;+&amp;#39;)
  if (filename.includes(&amp;#39;(&amp;#39;)) {
    filename = filename
      .replace(/\)$/, &amp;#39;&amp;#39;)
      .replace(/(\)\()|\(|\)/g, &amp;#39;_&amp;#39;)
  }
  if (filename.length &amp;gt; maxLengthWithoutHash || filename !== filename.toLowerCase() &amp;amp;&amp;amp; !filename.startsWith(&amp;#39;file+&amp;#39;)) {
    return `${filename.substring(0, maxLengthWithoutHash - 27)}_${createBase32Hash(filename)}`
  }
  return filename
}
```
However, it uses the md5 function as a path shortening compression function, and if a collision occurs, it will result in the same storage path for two different libraries. Although the real names are under the package name /node_modoules/, there are no version numbers for the libraries they refer to.
![Schematic picture](https://github.com/user-attachments/assets/7b8b87ab-f297-47bd-a9dd-43be86e36ed2)
In the diagram, we assume that two packages are called packageA and packageB, and that the first 90 digits of their package names must be the same, and that the hash value of the package names with versions must be the same.  Then C is the package that they both reference, but with a different version number.  (npm allows package names up to 214 bytes, so constructing such a collision package name is obvious.)&lt;/p&gt;
&lt;p&gt;Then hash(packageA@1.2.3)=hash(packageB@3.4.5).  This results in the same path for the i…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-8cc4-rfj6-fhg4</guid>
    </item>
  </channel>
</rss>
