mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [mina-asyncweb] JLLeitschuh opened a new pull request #1: [SECURITY] Use HTTPS to resolve dependencies in Maven Build
Date Mon, 10 Feb 2020 23:21:21 GMT
JLLeitschuh opened a new pull request #1: [SECURITY] Use HTTPS to resolve dependencies in Maven
URL: https://github.com/apache/mina-asyncweb/pull/1
   - [Want to take over the Java ecosystem? All you need is a MITM!](https://medium.com/@jonathan.leitschuh/want-to-take-over-the-java-ecosystem-all-you-need-is-a-mitm-1fc329d898fb?source=friends_link&sk=3c99970c55a899ad9ef41f126efcde0e)
   - [Update: Want to take over the Java ecosystem? All you need is a MITM!](https://medium.com/bugbountywriteup/update-want-to-take-over-the-java-ecosystem-all-you-need-is-a-mitm-d069d253fe23?source=friends_link&sk=8c8e52a7d57b98d0b7e541665688b454)
   This is a security fix for a  vulnerability in your [Apache Maven](https://maven.apache.org/)
`pom.xml` file(s).
   The build files indicate that this project is resolving dependencies over HTTP instead
   This leaves your build vulnerable to allowing a [Man in the Middle](https://en.wikipedia.org/wiki/Man-in-the-middle_attack)
(MITM) attackers to execute arbitrary code on your or your computer or CI/CD system.
   This vulnerability has a CVSS v3.0 Base Score of [8.1/10](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
   [POC code](https://max.computer/blog/how-to-take-over-the-computer-of-any-java-or-clojure-or-scala-developer/)
has existed since 2014 to maliciously compromise a JAR file in-flight.
   MITM attacks against HTTP are [increasingly common](https://security.stackexchange.com/a/12050),
for example [Comcast is known to have done it to their own users](https://thenextweb.com/insights/2017/12/11/comcast-continues-to-inject-its-own-code-into-websites-you-visit/#).
   This contribution is a part of a submission to the [GitHub Security Lab](https://securitylab.github.com/)
Bug Bounty program.
   ## Detecting this and Future Vulnerabilities
   This vulnerability was automatically detected by [LGTM.com](https://lgtm.com) using this
[CodeQL Query](https://lgtm.com/rules/1511115648721/).
   As of September 2019 LGTM.com and Semmle are [officially a part of GitHub](https://github.blog/2019-09-18-github-welcomes-semmle/).
   You can automatically detect future vulnerabilities like this by enabling the free (for
open-source) [LGTM App](https://github.com/marketplace/lgtm).
   I'm not an employee of GitHub nor of Semmle, I'm simply a user of [LGTM.com](https://lgtm.com)
and an open-source security researcher.
   ## Source
   Yes, this contribution was automatically generated, however, the code to generate this
PR was lovingly hand crafted to bring this security fix to your repository.
   The source code that generated and submitted this PR can be found here:
   ## Opting-Out
   If you'd like to opt-out of future automated security vulnerability fixes like this, please
consider adding a file called
   `.github/GH-ROBOTS.txt` to your repository with the line:
   User-agent: JLLeitschuh/bulk-security-pr-generator
   Disallow: *
   This bot will respect the [ROBOTS.txt](https://moz.com/learn/seo/robotstxt) format for
future contributions.
   Alternatively, if this project is no longer actively maintained, consider [archiving](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-archiving-repositories)
the repository.
   ## CLA Requirements
   _This section is only relevant if your project requires contributors to sign a Contributor
License Agreement (CLA) for external contributions._
   It is unlikely that I'll be able to directly sign CLAs. However, all contributed commits
are already automatically signed-off.
   > The meaning of a signoff depends on the project, but it typically certifies that committer
has the rights to submit this work under the same license and agrees to a Developer Certificate
of Origin 
   > (see [https://developercertificate.org/](https://developercertificate.org/) for more
   > \- [Git Commit Signoff documentation](https://developercertificate.org/)
   If signing your organization's CLA is a strict-requirement for merging this contribution,
please feel free to close this PR.
   ## Tracking
   All PR's generated as part of this fix are tracked here: 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org

View raw message