Gradle Technologies is now Develocity — read the announcement

← All advisories

CSRF prevention cookie is susceptible to capture by MITM on HTTP redirect

Affected product(s)
  • Gradle Enterprise < 2020.2.5
Severity
Moderate
Published
September 15, 2020
Related CVE ID(s)

Description

The cookie used to convey the CSRF prevention token is not annotated with the “secure” attribute, which allows an attacker with the ability to MITM plain HTTP requests to obtain it, if the user mistakenly uses a HTTP instead of HTTPS address to access the server.

This cookie value could then be used to perform CSRF.

Mitigation

Upgrade to Gradle Enterprise 2020.2.5.

Credit

This issue was responsibly reported by Compass Security.

© 2026 Gradle, Inc. Gradle®, Develocity®, Build Scan®, and the Gradlephant logo are registered trademarks of Gradle, Inc.

Get an AI summary of Develocity: