Skip to content
Heist/ feed
Back to feed
High

jawn — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-21653

Jawn is an open source JSON parser. Extenders of the `org.typelevel.jawn.SimpleFacade` and `org.typelevel.jawn.MutableFacade` who don't override `objectContext()` are vulnerable to a hash collision attack which may result in a denial of service. Most applications do not implement these traits directly, but inherit from a library. `jawn-parser-1.3.1` fixes this issue and users are advised to upgrade. For users unable to upgrade override `objectContext()` to use a collision-safe collection.

Products
jawn
Affected versions
0.11.1+really0.6.0-1, 0.11.1+really0.6.0-1build1
Fixed versions
Not specified
CVEs
CVE-2022-21653
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:39 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-21653

core-osv · Original source

Published 5 Jan 2022, 21:15 UTC

Jawn is an open source JSON parser. Extenders of the `org.typelevel.jawn.SimpleFacade` and `org.typelevel.jawn.MutableFacade` who don't override `objectContext()` are vulnerable to a hash collision attack which may result in a denial of service. Most applications do not implement these traits directly, but inherit from a library. `jawn-parser-1.3.1` fixes this issue and users are advised to upgrade. For users unable to upgrade override `objectContext()` to use a collision-safe collection.

osv:UBUNTU-CVE-2022-21653

jawn

Fixed versions: Not specified

jawn

Fixed versions: Not specified

jawn

Fixed versions: Not specified

jawn

Fixed versions: Not specified

jawn

Fixed versions: Not specified

jawn

Fixed versions: Not specified

Complete source record
{
  "id": "a4a05ab61817d64728832a3cbafe34035ad6e6ee8745e00b210d3e83da279314",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-21653",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-21653",
    "summary": "Jawn is an open source JSON parser. Extenders of the `org.typelevel.jawn.SimpleFacade` and `org.typelevel.jawn.MutableFacade` who don't override `objectContext()` are vulnerable to a hash collision attack which may result in a denial of service. Most applications do not implement these traits directly, but inherit from a library. `jawn-parser-1.3.1` fixes this issue and users are advised to upgrade. For users unable to upgrade override `objectContext()` to use a collision-safe collection.",
    "evidence": "osv:UBUNTU-CVE-2022-21653",
    "products": [
      {
        "name": {
          "value": "jawn",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.1+really0.6.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jawn",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.1+really0.6.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jawn",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.1+really0.6.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jawn",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.1+really0.6.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jawn",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.1+really0.6.0-1build1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "jawn",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.1+really0.6.0-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.11.1+really0.6.0-1build1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2022-21653",
      "aliases": [
        "UBUNTU-CVE-2022-21653"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jawn",
            "purl": "pkg:deb/ubuntu/jawn?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.11.1+really0.6.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjawn-java",
                "binary_version": "0.11.1+really0.6.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jawn",
            "purl": "pkg:deb/ubuntu/jawn?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.11.1+really0.6.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjawn-java",
                "binary_version": "0.11.1+really0.6.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jawn",
            "purl": "pkg:deb/ubuntu/jawn?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.11.1+really0.6.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjawn-java",
                "binary_version": "0.11.1+really0.6.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jawn",
            "purl": "pkg:deb/ubuntu/jawn?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.11.1+really0.6.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjawn-java",
                "binary_version": "0.11.1+really0.6.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jawn",
            "purl": "pkg:deb/ubuntu/jawn?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.11.1+really0.6.0-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjawn-java",
                "binary_version": "0.11.1+really0.6.0-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "jawn",
            "purl": "pkg:deb/ubuntu/jawn?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.11.1+really0.6.0-1",
            "0.11.1+really0.6.0-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21653.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjawn-java",
                "binary_version": "0.11.1+really0.6.0-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:56.862668777Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-21653"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-21653",
        "https://github.com/typelevel/jawn/pull/390",
        "https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55",
        "https://www.cve.org/CVERecord?id=CVE-2022-21653"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-21653",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 354347,
  "published_at": "2022-01-05T21:15:00+00:00"
}