OpenwrtOperating system

CVE-2021-32019

MEDIUM · 6.1 CVSS v3.1 Published 2021-08-02
Fix available
A fix is available. Upgrade to 19.07.8 or later.
See remediation →
68/100
Remediation priority · Elevated
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
There is missing input validation of host names displayed in OpenWrt before 19.07.8. The Connection Status page of the luci web-interface allows XSS, which can be used to gain full control over the affected system via ICMP.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

OpenWrt versions before 19.07.8 contain a stored XSS vulnerability in the luci web interface's Connection Status page. The page displays host names without proper input validation or output sanitization, allowing attackers to inject malicious JavaScript. This XSS can be leveraged to execute commands with privileges sufficient to control the system via ICMP.

MitigationUpgrade OpenWrt to version 19.07.8 or later which includes proper input validation for host names displayed in the luci interface. Until upgraded, restrict access to the luci web interface to trusted users only.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
OpenwrtOperating system
Affected:>= 19.07.0, < 19.07.8

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check OpenWrt version via command line
    Run 'cat /etc/openwrt_release' or 'cat /etc/os-release' to view the installed OpenWrt version
    Affected if The version displayed is less than 19.07.8 (for example, 19.07.0 through 19.07.7)
  2. Check OpenWrt version via LuCI web interface
    Log into the LuCI web interface and navigate to System > System or Status > Overview to view the OpenWrt version
    Affected if The version shown is before 19.07.8
  3. Verify LuCI is installed and enabled
    Check if the luci package is installed by running 'opkg list-installed | grep luci' or check if the web interface is accessible on port 80 or 443
    Affected if LuCI is installed and the web interface is accessible (required for the XSS to be exploitable)
  4. Confirm the Connection Status page is accessible
    Access the LuCI web interface and navigate to Network > Diagnostics or Status > Connection Status page where host names are displayed
    Affected if The Connection Status page is reachable and displays host name information (this is the vulnerable component)

You are affected if your OpenWrt version is 19.07.0 through 19.07.7 AND the LuCI web interface is installed and accessible, as the stored XSS exists in the Connection Status page's host name display functionality.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to 19.07.8 or later
Fixed in 19.07.8
Interim mitigation

Upgrade OpenWrt to version 19.07.8 or later which includes proper input validation for host names displayed in the luci interface. Until upgraded, restrict access to the luci web interface to trusted users only.

Fix this in Openwrt Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,930
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-32019 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-32019 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data