Skip to content
Crypto Disclosed report Beginner

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.

ronald_petty Follow

Originally disclosed on HackerOne

Medium 6.5 View original
  • 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?

The original report as published on HackerOne, by ronald_petty. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Download the kubernetes.tar.gz release file.
  2. Compute its SHA512 hash using shasum, openssl, or sha512sum.
  3. Compare the computed hash with the one published on the release page.
  4. 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.

More from Kubernetes

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.