Use of Weak Hash Affecting asu package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Use of Weak Hash vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ASU-8496577
  • published11 Dec 2024
  • disclosed6 Dec 2024
  • creditRy0taK

Introduced: 6 Dec 2024

NewCVE-2024-54143  (opens in a new tab)
CWE-328  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

asu is an An image on demand server for OpenWrt based distributions

Affected versions of this package are vulnerable to Use of Weak Hash which allows the ASU server to be polluted with malicious firmware images. Due to the low entropy employed when only 12 characters are used from the SHA-256 hash, an attacker can force a collision and pollute the artifact cache with a previously built image, which will then be served to users. Further, the malicious images can be signed with the legitimate build key because the attacker can inject arbitrary build commands into the makefile in use.

References

CVSS Scores

version 4.0
version 3.1