CVE-2020-27839
NixOS vulnerability analysis and mitigation

Overview

A security vulnerability was identified in the ceph-dashboard component where the JSON Web Token (JWT) used for user authentication was stored by the frontend application in the browser's localStorage, making it potentially vulnerable to XSS attacks. The vulnerability, tracked as CVE-2020-27839, was discovered and disclosed in May 2021, affecting multiple versions of Red Hat Ceph Storage (NVD).

Technical details

The vulnerability has been assigned 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 stems from storing sensitive authentication tokens in the browser's localStorage, which is accessible to JavaScript and therefore vulnerable to cross-site scripting (XSS) attacks. The vulnerability is classified under CWE-522 (Insufficiently Protected Credentials) (NVD).

Impact

The primary impact of this vulnerability affects data confidentiality and integrity. If exploited, attackers could potentially access and manipulate sensitive authentication tokens through XSS attacks, potentially leading to unauthorized access to the Ceph dashboard (Red Hat Bugzilla).

Mitigation and workarounds

The recommended mitigation is to avoid storing sensitive data in HTML5 localStorage, even temporarily. Instead, use cookies with appropriate security flags (secure, HttpOnly, SameSite). The vulnerability has been fixed in ceph-dashboard versions 14.2.17 and 15.2.9. Users should upgrade to these or later versions (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

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