ubuntu-cve-2024-21907
Vulnerability from osv_ubuntu
Published
2024-01-03 16:15
Modified
2026-04-22 07:47
Summary
Details

Newtonsoft.Json before version 13.0.1 is affected by a mishandling of exceptional conditions vulnerability. Crafted data that is passed to the JsonConvert.DeserializeObject method may trigger a StackOverflow exception resulting in denial of service. Depending on the usage of the library, an unauthenticated and remote attacker may be able to cause the denial of service condition.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnewtonsoft-json5.0-cil",
            "binary_version": "6.0.8+dfsg-1"
          },
          {
            "binary_name": "monodoc-newtonsoft-json-manual",
            "binary_version": "6.0.8+dfsg-1"
          },
          {
            "binary_name": "nupkg-newtonsoft.json.6.0.8",
            "binary_version": "6.0.8+dfsg-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "newtonsoft-json",
        "purl": "pkg:deb/ubuntu/newtonsoft-json@6.0.8+dfsg-1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.0r6+dfsg-1",
        "5.0r6+dfsg-1ubuntu1",
        "6.0.8+dfsg-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnewtonsoft-json5.0-cil",
            "binary_version": "6.0.8+dfsg-1"
          },
          {
            "binary_name": "monodoc-newtonsoft-json-manual",
            "binary_version": "6.0.8+dfsg-1"
          },
          {
            "binary_name": "nupkg-newtonsoft.json.6.0.8",
            "binary_version": "6.0.8+dfsg-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "newtonsoft-json",
        "purl": "pkg:deb/ubuntu/newtonsoft-json@6.0.8+dfsg-1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.0.8+dfsg-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnewtonsoft-json5.0-cil",
            "binary_version": "6.0.8+dfsg-1"
          },
          {
            "binary_name": "monodoc-newtonsoft-json-manual",
            "binary_version": "6.0.8+dfsg-1"
          },
          {
            "binary_name": "nupkg-newtonsoft.json.6.0.8",
            "binary_version": "6.0.8+dfsg-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "newtonsoft-json",
        "purl": "pkg:deb/ubuntu/newtonsoft-json@6.0.8+dfsg-1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.0.8+dfsg-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnewtonsoft-json5.0-cil",
            "binary_version": "6.0.8+dfsg-1.1"
          },
          {
            "binary_name": "monodoc-newtonsoft-json-manual",
            "binary_version": "6.0.8+dfsg-1.1"
          },
          {
            "binary_name": "nupkg-newtonsoft.json.6.0.8",
            "binary_version": "6.0.8+dfsg-1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "newtonsoft-json",
        "purl": "pkg:deb/ubuntu/newtonsoft-json@6.0.8+dfsg-1.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.0.8+dfsg-1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnewtonsoft-json5.0-cil",
            "binary_version": "6.0.8+dfsg-1.2"
          },
          {
            "binary_name": "monodoc-newtonsoft-json-manual",
            "binary_version": "6.0.8+dfsg-1.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "newtonsoft-json",
        "purl": "pkg:deb/ubuntu/newtonsoft-json@6.0.8+dfsg-1.2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.0.8+dfsg-1.1",
        "6.0.8+dfsg-1.2"
      ]
    }
  ],
  "aliases": [],
  "details": "Newtonsoft.Json before version 13.0.1 is affected by a mishandling of exceptional conditions vulnerability. Crafted data that is passed to the JsonConvert.DeserializeObject method may trigger a StackOverflow exception resulting in denial of service. Depending on the usage of the library, an unauthenticated and remote attacker may be able to cause the denial of service condition.",
  "id": "UBUNTU-CVE-2024-21907",
  "modified": "2026-04-22T07:47:58Z",
  "published": "2024-01-03T16:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-21907"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/JamesNK/Newtonsoft.Json/issues/2457"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/JamesNK/Newtonsoft.Json/pull/2462"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66"
    },
    {
      "type": "REPORT",
      "url": "https://alephsecurity.com/2018/10/22/StackOverflowException/"
    },
    {
      "type": "REPORT",
      "url": "https://alephsecurity.com/vulns/aleph-2018004"
    },
    {
      "type": "REPORT",
      "url": "https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/advisories/GHSA-5crp-9r3c-p9vr"
    },
    {
      "type": "REPORT",
      "url": "https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-21907"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/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": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-21907"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…