{
  "schema_version": "1.4.0",
  "id": "GHSA-j59f-6m4q-62h6",
  "modified": "2023-12-07T22:05:54Z",
  "published": "2019-05-30T17:28:48Z",
  "aliases": [],
  "summary": "Improper Key Verification in ipns",
  "details": "Versions 0.1.1 or 0.1.2 of `ipns` are vulnerable to improper key validation. This is due to the public key verification was not being performed properly, resulting in any key being valid.\n\n\n## Recommendation\n\nUpdate to version 0.1.3 or later.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "ipns"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.1.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/ipfs/js-ipns/commit/33684e356f1f2fdcd99b2fb85fcc5d52223769a0"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/693"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-287"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2019-05-30T17:28:19Z",
    "nvd_published_at": null
  }
}