pypi package report

Is io-apicurio-apicurio-registry safe?

2 known vulnerabilities, worst severity MEDIUM.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      No published models are known to use this package.


      cvss
      0.0
      medium

      severity out of 10

      epss
      0.00%
      medium

      chance of exploitation in 30 days, 49th percentile of all CVEs

      xyz score
      0.0
      low

      CyberXYZ composite out of 10

      fig. 01 — GHSA-h5c3-5r3r-rr8q, the advisory selected below

      // 2 advisories

      GHSA-h5c3-5r3r-rr8q

      MEDIUMCVE-2025-25288
      // summary

      For the npm package @octokit/plugin-paginate-rest, when calling octokit.paginate.iterator(), a specially crafted octokit instance—particularly with a malicious link parameter in the headers section of the request—can trigger a ReDoS attack.

      // details

      The issue occurs at line 39 of iterator.ts in the @octokit/plugin-paginate-rest repository. The relevant code is as follows:

      url = ((normalizedResponse.headers.link || "").match(
        /]+)>;\s*rel="next"/,
      ) || [])[1];

      The regular expression /]+)>;\srel="next"/ may lead to a potential backtracking vulnerability, resulting in a ReDoS (Regular Expression Denial of Service) attack. This could cause high CPU utilization and even service slowdowns or freezes when processing specially crafted Link headers.

      // poc

      The gist of PoC.js

      • run npm i @octokit/plugin-paginate-rest
      • run 'node poc.js'

      result:

      • then the program will stuck forever with high CPU usage
      import { Octokit } from "@octokit/core";
      import { paginateRest } from "@octokit/plugin-paginate-rest";
      
      const MyOctokit = Octokit.plugin(paginateRest);
      const octokit = new MyOctokit({
        auth: "your-github-token",
      });
      
      // Intercept the request to inject a malicious 'link' header for ReDoS
      octokit.hook.wrap("request", async (request, options) => {
        const maliciousLinkHeader = "" + ""; // attack string
        return {
          data: [],
          headers: {
            link: maliciousLinkHeader, // Inject malicious 'link' header
          },
        };
      });
      
      // Trigger the ReDoS attack by paginating through GitHub issues
      (async () => {
        try {
          for await (const normalizedResponse of octokit.paginate.iterator(
            "GET /repos/{owner}/{repo}/issues", { owner: "DayShift", repo: "ReDos", per_page: 100 }
          )) {
            console.log({ normalizedResponse });
          }
        } catch (error) {
          console.error("Error encountered:", error);
        }
      })();
      // what kind of vulnerability is it?

      This is a Regular Expression Denial of Service (ReDoS) vulnerability, which occurs due to excessive backtracking in the regex pattern:

      /]+)>;\s*rel="next"/

      When processing a specially crafted Link header, this regex can cause significant performance degradation, leading to high CPU utilization and potential service unresponsiveness.

      // who is impacted?
      • Users of @octokit/plugin-paginate-rest who call octokit.paginate.iterator() and process untrusted or manipulated Link headers.
      • Applications relying on Octokit's pagination mechanism, particularly those handling large volumes of API requests.
      • GitHub API consumers who integrate this package into their projects for paginated data retrieval.
      // cvss v3.1 vector

      CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

      Attack vector
      Network
      Attack complexity
      Low
      Privileges required
      None
      User interaction
      None
      Scope
      Unchanged
      Confidentiality
      None
      Integrity
      None
      Availability
      Low

      Checked 2026-10-23 at 18:56 UTC. The most recent advisory here was published 2025-02-14. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.