{
  "document": {
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "publisher": {
      "category": "vendor",
      "name": "Ribose",
      "namespace": "https://cve.ribose.com"
    },
    "title": "Ribose CSAF VEX Feed for rnpgp/rnp",
    "tracking": {
      "current_release_date": "2025-11-21T00:00:00Z",
      "id": "RIBOSE-CSAF-RNP",
      "initial_release_date": "1970-01-01T00:00:00Z",
      "revision_history": [
        {
          "date": "2025-11-21T00:00:00Z",
          "number": "1.0.0",
          "summary": "Initial publication"
        }
      ],
      "status": "final",
      "version": "1.0.0"
    }
  },
  "product_tree": {
    "branches": [
      {
        "category": "vendor",
        "name": "rnpgp",
        "branches": [
          {
            "category": "product_name",
            "name": "rnpgp/rnp",
            "product": {
              "name": "rnpgp/rnp",
              "product_id": "rnp",
              "product_identification_helper": {
                "purl": "pkg:github/rnpgp/rnp"
              }
            }
          }
        ]
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2025-13470",
      "title": "RNP 0.18.0 Vulnerable PKESK session keys",
      "release_date": "2025-11-21T00:00:00Z",
      "notes": [
        {
          "category": "description",
          "text": "In RNP version 0.18.0 a refactoring regression causes the symmetric \nsession key used for Public-Key Encrypted Session Key (PKESK) packets to\n be left uninitialized except for zeroing, resulting in it always being \nan all-zero byte array.\n\nAny data encrypted using public-key encryption \nin this release can be decrypted trivially by supplying an all-zero \nsession key, fully compromising confidentiality.\n\nThe vulnerability affects only public key encryption (PKESK packets).  Passphrase-based encryption (SKESK packets) is not affected.\n\nRoot cause: Vulnerable session key buffer used in PKESK packet generation.\n\n\n\nThe defect was introduced in commit `7bd9a8dc356aae756b40755be76d36205b6b161a` where initialization \nlogic inside `encrypted_build_skesk()` only randomized the key for the \nSKESK path and omitted it for the PKESK path."
        }
      ],
      "cwe": {
        "id": "CWE-330",
        "name": "CWE-330 Use of Insufficiently Random Values"
      },
      "product_status": {
        "known_affected": [
          "rnp"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "baseScore": 7.5,
            "baseSeverity": "HIGH"
          },
          "products": [
            "rnp"
          ]
        }
      ],
      "references": [
        {
          "category": "self",
          "summary": "Introducing commit",
          "url": "https://github.com/rnpgp/rnp/commit/7bd9a8dc356aae756b40755be76d36205b6b161a"
        },
        {
          "category": "self",
          "summary": "Ubuntu package",
          "url": "https://launchpad.net/ubuntu/+source/rnp"
        },
        {
          "category": "self",
          "summary": "Arch Linux AUR package",
          "url": "https://aur.archlinux.org/packages/rnp"
        },
        {
          "category": "self",
          "summary": "Bugzilla report (may become public)",
          "url": "https://packages.gentoo.org/packages/dev-util/librnp"
        },
        {
          "category": "self",
          "summary": "https://bugzilla.redhat.com/show_bug.cgi?id=2415863",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2415863"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/security/cve/cve-2025-13402",
          "url": "https://access.redhat.com/security/cve/cve-2025-13402"
        },
        {
          "category": "external",
          "summary": "https://cve.ribose.com/advisories/ra-2025-11-20/",
          "url": "https://cve.ribose.com/advisories/ra-2025-11-20/"
        },
        {
          "category": "external",
          "summary": "https://github.com/rnpgp/rnp/releases/tag/v0.18.1",
          "url": "https://github.com/rnpgp/rnp/releases/tag/v0.18.1"
        }
      ]
    },
    {
      "cve": "CVE-2023-29480",
      "title": "Secret keys remain unlocked after usage in certain cases",
      "release_date": "1970-01-01T00:00:00Z",
      "notes": [
        {
          "category": "description",
          "text": "In certain cases, some secret keys remain unlocked after usage, due to the premature destruction of an unnamed KeyLocker before it was able to re-lock keys."
        }
      ],
      "cwe": {
        "id": "CWE-922",
        "name": "CWE-922 Insecure Storage of Sensitive Information"
      },
      "product_status": {
        "known_affected": [
          "rnp"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N",
            "baseScore": 5.0,
            "baseSeverity": "MEDIUM"
          },
          "products": [
            "rnp"
          ]
        }
      ],
      "references": [
        {
          "category": "self",
          "summary": "https://www.rnpgp.org/blog/",
          "url": "https://www.rnpgp.org/blog/"
        },
        {
          "category": "external",
          "summary": "https://cve.ribose.com/advisories/ra-2023-04-11/",
          "url": "https://cve.ribose.com/advisories/ra-2023-04-11/"
        }
      ]
    },
    {
      "cve": "CVE-2023-29479",
      "title": "Hang when processing certain OpenPGP messages",
      "release_date": "1970-01-01T00:00:00Z",
      "notes": [
        {
          "category": "description",
          "text": "Certain malformed OpenPGP messages could trigger incorrect parsing of PKESK/SKESK packets causing the library to hang.="
        }
      ],
      "cwe": {
        "id": "CWE-400",
        "name": "CWE-400 Uncontrolled Resource Consumption"
      },
      "product_status": {
        "known_affected": [
          "rnp"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM"
          },
          "products": [
            "rnp"
          ]
        }
      ],
      "references": [
        {
          "category": "self",
          "summary": "https://www.rnpgp.org/blog/",
          "url": "https://www.rnpgp.org/blog/"
        },
        {
          "category": "external",
          "summary": "https://open.ribose.com/advisories/ra-2023-04-11/",
          "url": "https://open.ribose.com/advisories/ra-2023-04-11/"
        },
        {
          "category": "self",
          "summary": "RA-2023-04-11: Security vulnerabilities fixed in RNP 0.16.3",
          "url": "https://cve.ribose.com/advisories/ra-2023-04-11/"
        }
      ]
    },
    {
      "cve": "CVE-2021-33589",
      "title": "Key protection settings not copied after unprotect action",
      "release_date": "2021-05-29T16:00:00Z",
      "notes": [
        {
          "category": "description",
          "text": "A key decrypted through `rnp_key_unprotect` will remain unprotected after after a subsequent call of `rnp_key_protect`. \n\nThis issue affects RNP: before 0.15.1."
        }
      ],
      "cwe": {
        "id": "CWE-522",
        "name": "CWE-522 Insufficiently Protected Credentials"
      },
      "product_status": {
        "known_affected": [
          "rnp"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
            "baseScore": 3.3,
            "baseSeverity": "LOW"
          },
          "products": [
            "rnp"
          ]
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "Upgrade to 0.15.1 or later.",
          "product_ids": [
            "rnp"
          ]
        }
      ],
      "references": [
        {
          "category": "self",
          "summary": "https://bugzilla.mozilla.org/show_bug.cgi?id=1710290#c0",
          "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1710290#c0"
        },
        {
          "category": "external",
          "summary": "https://open.ribose.com/advisories/ra-2021-05-30/",
          "url": "https://open.ribose.com/advisories/ra-2021-05-30/"
        },
        {
          "category": "self",
          "summary": "RA-2021-05-30: Security vulnerabilities fixed in RNP 0.15.1",
          "url": "https://cve.ribose.com/advisories/ra-2021-05-30/"
        }
      ]
    }
  ]
}
