Network Services OrchestratorApplication · Cisco

CVE-2024-20366

HIGH · 7.8 CVSS v3.1 Published 2024-05-15
Fix available
A fix is available. Upgrade to 5.0.5 / 6.0.2 or later.
See remediation →
80/100
Remediation priority · High
Zero-click

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
A vulnerability in the Tail-f High Availability Cluster Communications (HCC) function pack of Cisco Crosswork Network Services Orchestrator (NSO) could allow an authenticated, local attacker to elevate privileges to root on an affected device. This vulnerability exists because a user-controlled search path is used to locate executable files. An attacker could exploit this vulnerability by configuring the application in a way that causes a malicious file to be executed. A successful exploit could allow the attacker to execute arbitrary code on an affected device as the root user. To exploit this vulnerability, the attacker would need valid credentials on an affected device.

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

This is a privilege escalation vulnerability in Cisco NSO's Tail-f HCC function pack where the application uses a user-controlled search path to locate executable files. An authenticated local attacker with valid credentials can manipulate this search path to cause a malicious executable to be loaded and executed with root privileges, achieving arbitrary code execution as the root user.

MitigationApply the vendor patch from Cisco when available; in the interim, strictly limit access to device credentials and restrict configuration rights for the HCC function pack to trusted administrators 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
Network Services OrchestratorApplication
Affected:>= 5.0, < 5.0.5>= 6.0, < 6.0.2

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
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

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. Identify Cisco NSO installed version
    Run 'ncs --version' or check the package metadata in /opt/ncs/VERSION or /etc/ncs/ns-*.info to determine the exact version installed.
    Affected if The installed version is >= 5.0 and < 5.0.5, or >= 6.0 and < 6.0.2.
  2. Locate Tail-f HCC function pack components
    Search for HCC-related files: look for directories named 'hcc', 'tailf-hcc', or packages containing 'hcc' in the Cisco NSO installation path, typically under /var/opt/ncs/packages/ or /opt/ncs/packages/.
    Affected if The HCC function pack is installed on the system.
  3. Verify HCC function pack is enabled
    Check the Cisco NSO configuration for loaded packages: run 'ncs_cli -u admin' then 'show packages' or inspect the packages.xml file in the NSO configuration directory.
    Affected if The HCC function pack appears in the list of loaded/enabled packages.
  4. Inspect HCC directory permissions and integrity
    Review file permissions on the HCC package directory: use 'ls -la' to check ownership and permissions, and verify file hashes against expected values if available.
    Affected if The HCC directory or its executables are writable by non-root users, or files have been modified from their original state.
  5. Examine process environment for HCC-related PATH manipulation
    Review the PATH environment variable used by the NSO process and check for any user-controlled PATH entries pointing to HCC or writable directories. Run 'ps aux | grep ncs' to find the NSO process, then check /proc/<pid>/environ.
    Affected if The PATH variable includes directories that could be controlled by an authenticated attacker.

A system is affected if Cisco NSO version is 5.0 through 5.0.4 or 6.0 through 6.0.1 AND the Tail-f HCC function pack is installed and enabled.

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.

dbcve · scoped
Upgrade available Upgrade to 5.0.5 / 6.0.2 or later
Fixed in 5.0.56.0.2
Interim mitigation

Apply the vendor patch from Cisco when available; in the interim, strictly limit access to device credentials and restrict configuration rights for the HCC function pack to trusted administrators only.

Recommended fix High confidence

Upgrade to Cisco NSO 5.0.5 (for 5.x releases) or 6.0.2 (for 6.x releases)

  1. Verify current installed version of Cisco Crosswork Network Services Orchestrator using 'ncs --version' or through the NSO CLI
  2. Review the Cisco NSO upgrade guide for your current major version (5.x or 6.x) at Cisco.com to understand prerequisites
  3. Ensure you have valid backup of NSO configuration and data before upgrading
  4. Download the appropriate fixed release: upgrade to 5.0.5 if running 5.0.x, or upgrade to 6.0.2 if running 6.0.x
  5. Perform the upgrade following Cisco's standard NSO upgrade procedures, which typically involves stopping NSO services, running the installer, and restarting services
  6. After upgrade, verify the new version is running and confirm the HCC function pack is updated
  7. Validate that the Tail-f HCC service starts successfully and review logs for any errors
Caveat Review Cisco NSO release notes for your target version for any backward-incompatible changes or required configuration adjustments before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Network Services Orchestrator Scoped from the published advisory
  • Consultation4.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,970
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,152.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-20366 — 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-2024-20366 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