You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2021/05/11 16:12:00 UTC

[jira] [Created] (SPARK-35373) Verify checksums of downloaded artifacts in build/mvn

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org