{
  "threat_severity" : "Moderate",
  "public_date" : "2022-12-22T00:00:00Z",
  "bugzilla" : {
    "description" : "jsonwebtoken: Insecure default algorithm in jwt.verify() could lead to signature validation bypass",
    "id" : "2169378",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2169378"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.4",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L",
    "status" : "verified"
  },
  "cwe" : "CWE-327",
  "details" : [ "In versions `<=8.5.1` of `jsonwebtoken` library, lack of algorithm definition in the `jwt.verify()` function can lead to signature validation bypass due to defaulting to the `none` algorithm for signature verification. Users are affected if you do not specify algorithms in the `jwt.verify()` function. This issue has been fixed, please update to version 9.0.0 which removes the default support for the none algorithm in the `jwt.verify()` method. There will be no impact, if you update to version 9.0.0 and you don’t need to allow for the `none` algorithm. If you need 'none' algorithm, you have to explicitly specify that in `jwt.verify()` options.", "A flaw was found in the jsonwebtoken library. In affected versions of the jsonwebtoken library, lack of algorithm definition and a falsy secret or key in the jwt.verify() function may lead to signature validation bypass due to defaulting to the none algorithm for signature verification." ],
  "affected_release" : [ {
    "product_name" : "RHODF-4.13-RHEL-9",
    "release_date" : "2023-06-21T00:00:00Z",
    "advisory" : "RHSA-2023:3742",
    "cpe" : "cpe:/a:redhat:openshift_data_foundation:4.13::el9",
    "package" : "odf4/mcg-core-rhel9:v4.13.0-41"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Affected",
    "package_name" : "openshift4/ose-console",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat Openshift Container Storage 4",
    "fix_state" : "Out of support scope",
    "package_name" : "ocs4/mcg-core-rhel8",
    "cpe" : "cpe:/a:redhat:openshift_container_storage:4"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-23540\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-23540\nhttps://github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-qwph-4952-7xr6" ],
  "name" : "CVE-2022-23540",
  "csaw" : false
}