CVE-2021-37152
Sonatype Nexus 3 vulnerability analysis and mitigation

Overview

Multiple cross-site scripting (XSS) vulnerabilities were discovered in Sonatype Nexus Repository Manager 3 versions prior to 3.33.0. The vulnerability was disclosed on August 5, 2021, and assigned identifier CVE-2021-37152. The issue affects all versions of Nexus Repository 3 up to and including version 3.32.0 (Vendor Advisory).

Technical details

The vulnerability allows an authenticated attacker with the ability to add HTML files to a repository to execute arbitrary JavaScript within the context of the application. The vulnerability has a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The issue is classified as CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (NVD).

Impact

When exploited, the vulnerability allows injected JavaScript to forge requests on behalf of the user, redirect users to other sites, or modify page content. This can lead to the compromise of confidentiality and integrity of data when users view malicious entities (Vendor Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Nexus Repository OSS/Pro version 3.33.0. The fix includes adding a repository configuration option to force downloading HTML files instead of rendering them in the browser. Sonatype strongly recommends upgrading all affected instances to version 3.33.0 or later (Vendor Advisory).

Additional resources


SourceThis report was generated using AI

Related Sonatype Nexus 3 vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2021-37152MEDIUM5.4
  • Sonatype Nexus 3Sonatype Nexus 3
  • cpe:2.3:a:sonatype:nexus_repository_manager
NoYesAug 10, 2021
CVE-2022-27907MEDIUM4.3
  • Sonatype Nexus 3Sonatype Nexus 3
  • cpe:2.3:a:sonatype:nexus_repository_manager
NoYesMar 30, 2022
CVE-2021-43961MEDIUM4.3
  • Sonatype Nexus 3Sonatype Nexus 3
  • cpe:2.3:a:sonatype:nexus_repository_manager
NoYesMar 17, 2022
CVE-2021-43293MEDIUM4.3
  • Sonatype Nexus 3Sonatype Nexus 3
  • cpe:2.3:a:sonatype:nexus_repository_manager
NoYesNov 04, 2021
CVE-2021-42568MEDIUM4.3
  • Sonatype Nexus 3Sonatype Nexus 3
  • cpe:2.3:a:sonatype:nexus_repository_manager
NoYesNov 02, 2021

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management