Vulnerabilities in pkg:maven/com.atlassian.connect/atlassian-connect-spring-boot
PACKAGECVE-2021-26077 is a HIGH (CVSS 8.8) improper authentication vulnerability (CWE-287: Improper Authentication) affecting Spring Framework libraries in the Maven ecosystem. The issue involves improper authentication in atlassian connect spring boot. Remediation is available by upgrading affected packages to version 2.1.3, 2.1.5.
pkg:maven/com.atlassian.connect/atlassian-connect-spring-boot
Vulnerability advisories affecting package pkg:maven/com.atlassian.connect/atlassian-connect-spring-boot. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2x7v-w2mv-f3rx | CVE-2021-26077 | HIGH | Improper Authentication in Atlassian Connect Spring Boot |
CVE-2021-26077 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2021-26077
To remediate this vulnerability, upgrade all affected Spring Framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.atlassian.connect</groupId>
<artifactId>atlassian-connect-spring-boot</artifactId>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>com.atlassian.connect</groupId>
<artifactId>atlassian-connect-spring-boot</artifactId>
<version>2.1.5</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.atlassian.connect
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2021-26077, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.atlassian.connect
Analyze the terminal output to locate any version of Spring Framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.atlassian.connect command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Spring Framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-26077 Affected Spring Framework Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.atlassian.connect:atlassian-connect-spring-boot
|
Maven |
≥ 1.1.0
< 2.1.3
|
2.1.3
|
|
com.atlassian.connect:atlassian-connect-spring-boot
|
Maven |
≥ 2.1.4
< 2.1.5
|
2.1.5
|
References
Frequently Asked Questions
What is CVE-2021-26077?
Which Spring Framework versions are affected?
What version fixes CVE-2021-26077?
Is atlassian-connect-spring-boot affected?
What is the CVSS score of CVE-2021-26077?
What CWE is associated with CVE-2021-26077?
How can I check Maven dependencies for CVE-2021-26077?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2x7v-w2mv-f3rx",
"modified" : "2021-05-19T19:44:33Z",
"published" : "2021-06-16T17:23:12Z",
"aliases" : [ "CVE-2021-26077" ],
"summary" : "Improper Authentication in Atlassian Connect Spring Boot",
"details" : "Broken Authentication in Atlassian Connect Spring Boot (ACSB) in version 1.1.0 before 2.1.3 and from version 2.1.4 before 2.1.5: Atlassian Connect Spring Boot is a Java Spring Boot package for building Atlassian Connect apps. Authentication between Atlassian products and the Atlassian Connect Spring Boot app occurs with a server-to-server JWT or a context JWT. Atlassian Connect Spring Boot versions 1.1.0 before 2.1.3 and versions 2.1.4 before 2.1.5 erroneously accept context JWTs in lifecycle endpoints (such as installation) where only server-to-server JWTs should be accepted, permitting an attacker to send authenticated re-installation events to an app.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.atlassian.connect:atlassian-connect-spring-boot"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "2.1.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.atlassian.connect:atlassian-connect-spring-boot"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.4"
}, {
"fixed" : "2.1.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-26077"
}, {
"type" : "WEB",
"url" : "https://community.developer.atlassian.com/t/action-required-atlassian-connect-vulnerability-allows-bypass-of-app-qsh-verification-via-context-jwts/47072"
}, {
"type" : "WEB",
"url" : "https://confluence.atlassian.com/pages/viewpage.action?pageId=1063555147"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-19T19:44:33Z",
"nvd_published_at" : "2021-05-10T00:15:00Z"
}
}