prometheus/prometheus

Makefile vulnerability

Aperta

#10.660 aperta il 2 mag 2022

 (11 commenti) (0 reazioni) (0 assegnatari)Go (10.408 fork)batch import
help wantedkind/enhancement

Metriche repository

Star
 (64.042 stelle)
Metriche merge PR
 (Merge medio 11g 5h) (118 PR mergiate in 30 g)

Descrizione

Proposal

Use case. Why is this important? Currently the Makefile pipes a download from curl directly to tar without verifying checksums.

This makes the build vulnerable to man in the middle attacks, and prevents the build from being reproducible.

Verifying checksums will fix the security vulnerability. Additionally verifying checksums makes builds reproducible and cachable.

Guida contributor