Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-18854

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-18854
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:11 UTC · Revision 1

Source evidence

CVE-2018-18854

core-osv · Original source

Published 31 Oct 2018, 05:29 UTC

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

osv:CVE-2018-18854
Complete source record
{
  "id": "7dfc5b6c6b734d6e417feb7196223ff2e08d0ea3bf1dc6767fc136c2266d9b47",
  "url": "https://osv.dev/vulnerability/CVE-2018-18854",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-18854",
    "summary": "Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).",
    "evidence": "osv:CVE-2018-18854",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-18854",
      "aliases": [
        "CVE-2018-18854",
        "GHSA-q8xj-8xg3-w432"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spray/spray-json",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "9f100db9e3e39ddb4c2606720841652334634e6c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:lightbend:spray-json:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.3.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.3.4",
            "v1.3.3",
            "v1.3.2-2.12",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.6",
            "v1.2.5",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18854.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:53.860918240Z",
      "provider": "osv",
      "references": [
        "https://github.com/spray/spray-json/issues/277"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-18854",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381061,
  "published_at": "2018-10-31T05:29:00.297+00:00"
}