Sean R. Owen created SPARK-35373:
------------------------------------

             Summary: Verify checksums of downloaded artifacts in build/mvn
                 Key: SPARK-35373
                 URL: https://issues.apache.org/jira/browse/SPARK-35373
             Project: Spark
          Issue Type: Improvement
          Components: Build
    Affects Versions: 3.1.1, 3.0.2, 2.4.7
            Reporter: Sean R. Owen
            Assignee: Sean R. Owen


build/mvn is a convenience script that will automatically download Maven (and 
Scala) if not already present. While it downloads from official ASF mirrors, it 
does not check the checksum of the artifact, which is available as a .sha512 
file from ASF servers.

The risk of a supply chain attack is a bit less theoretical here than usual, 
because artifacts are downloaded from any of several mirrors worldwide, and 
injecting a malicious copy of Maven in any one of them might be simpler and 
less noticeable than injecting it into ASF servers.

(Note, Scala's download site does not seem to provide a checksum. They do all 
come from Lightbend, at least, not N mirrors. Not much we can do there.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to