GHSA-v4xv-795h-rv4h
Vulnerability from github
Published
2024-01-23 14:44
Modified
2024-01-23 14:44
Summary
XSS potential in rendered Markdown fields (comments, description, notes, etc.)
Details

Impact

All users of Nautobot versions earlier than 1.6.10 or 2.1.2 are potentially impacted.

Due to inadequate input sanitization, any user-editable fields that support Markdown rendering, including:

  • Circuit.comments
  • Cluster.comments
  • CustomField.description
  • Device.comments
  • DeviceRedundancyGroup.comments
  • DeviceType.comments
  • Job.description
  • JobLogEntry.message
  • Location.comments
  • Note.note
  • PowerFeed.comments
  • Provider.noc_contact
  • Provider.admin_contact
  • Provider.comments
  • ProviderNetwork.comments
  • Rack.comments
  • Tenant.comments
  • VirtualMachine.comments
  • Contents of any custom fields of type markdown
  • Job class description attributes
  • The SUPPORT_MESSAGE system configuration setting

are potentially susceptible to cross-site scripting (XSS) attacks via maliciously crafted data.

Patches

Fixed in Nautobot versions 1.6.10 and 2.1.2.

References

https://github.com/nautobot/nautobot/pull/5133 https://github.com/nautobot/nautobot/pull/5134

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "nautobot"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.0.0"
            },
            {
              "fixed": "2.1.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "nautobot"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2024-23345"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-23T14:44:22Z",
    "nvd_published_at": "2024-01-23T00:15:26Z",
    "severity": "HIGH"
  },
  "details": "### Impact\n\nAll users of Nautobot versions earlier than 1.6.10 or 2.1.2 are potentially impacted.\n\nDue to inadequate input sanitization, any user-editable fields that support Markdown rendering, including:\n\n- `Circuit.comments`\n- `Cluster.comments`\n- `CustomField.description`\n- `Device.comments`\n- `DeviceRedundancyGroup.comments`\n- `DeviceType.comments`\n- `Job.description`\n- `JobLogEntry.message`\n- `Location.comments`\n- `Note.note`\n- `PowerFeed.comments`\n- `Provider.noc_contact`\n- `Provider.admin_contact`\n- `Provider.comments`\n- `ProviderNetwork.comments`\n- `Rack.comments`\n- `Tenant.comments`\n- `VirtualMachine.comments`\n- Contents of any custom fields of type `markdown`\n- Job class `description` attributes\n- The `SUPPORT_MESSAGE` system configuration setting\n\nare potentially susceptible to cross-site scripting (XSS) attacks via maliciously crafted data.\n\n### Patches\n\nFixed in Nautobot versions 1.6.10 and 2.1.2.\n\n### References\n\nhttps://github.com/nautobot/nautobot/pull/5133\nhttps://github.com/nautobot/nautobot/pull/5134\n",
  "id": "GHSA-v4xv-795h-rv4h",
  "modified": "2024-01-23T14:44:22Z",
  "published": "2024-01-23T14:44:22Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/nautobot/nautobot/security/advisories/GHSA-v4xv-795h-rv4h"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23345"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nautobot/nautobot/pull/5133"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nautobot/nautobot/pull/5134"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nautobot/nautobot/commit/17effcbe84a72150c82b138565c311bbee357e80"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nautobot/nautobot/commit/64312a4297b5ca49b6cdedf477e41e8e4fd61cce"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nautobot/nautobot"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/nautobot/PYSEC-2024-16.yaml"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "XSS potential in rendered Markdown fields (comments, description, notes, etc.)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.