SHA512 incorrect on most/many releases
Published SHA512 checksums for Kubernetes release tarballs do not match the files, and the same incorrect hash appears across releases, so users cannot verify artifacts.
Originally disclosed on HackerOne
- Fixed in 22 days
- Paid in 22 days
- Disclosed after 52 days
Report Submission Form
Summary:
SHA512 is incorrect for most versions of kubernetes.tar.gz releases (https://github.com/kubernetes/kubernetes/releases/).
Kubernetes Version:
all
Component Version:
all
Steps To Reproduce:
[add details for how we can reproduce the issue, including relevant cluster setup and configuration]
curl -sLO https://github.com/kubernetes/kubernetes/releases/download/v1.20.0/kubernetes.tar.gz shasum -a 512 kubernetes.tar.gz (mac) openssl dgst -sha512 kubernetes.tar.gz (linux) sha512sum kubernetes.tar.gz (linux)
All report: ebfe49552bbda02807034488967b3b62bf9e3e507d56245e298c4c19090387136572c1fca789e772a5e8a19535531d01dcedb61980e42ca7b0461d3864df2c14
Per website, it should be: cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
Supporting Material/References:
https://github.com/kubernetes/kubernetes/releases/tag/v1.20.0
another example:
https://github.com/kubernetes/kubernetes/releases/tag/v1.19.5
Same SHA512: cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
Impact
I suspect its an automation release issue (hence same hash in all places).
- Impact 1: Can't verify artifact is correct artifact.
- Impact 2: Hacked?
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an automation error in the release process that published a placeholder or incorrect checksum instead of the real one.
Impact
Users cannot verify that downloaded artifacts are correct, and the reporter suspects a possible compromise.
What the attacker needed
None
How it was found
- Download the kubernetes.tar.gz release file.
- Compute its SHA512 hash using shasum, openssl, or sha512sum.
- Compare the computed hash with the one published on the release page.
- Observe that they do not match, and that the published hash is identical across different releases.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A checksum is a fingerprint of a file, used to confirm the file is what it should be. Here the fingerprint shown did not match the downloaded file, and the same wrong fingerprint appeared for several versions, so users cannot verify the artifact.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.