Skip to content
Heist/ feed
Back to feed
UnratedFix available

node-fetch vulnerability

Type: advisorySources: OSV

It was discovered that Node Fetch incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to obtain sensitive information.

Products
node-fetch
Affected versions
1.7.3-1, 1.7.3-2
Fixed versions
1.7.3-1ubuntu0.1~esm1, 1.7.3-2ubuntu0.1
CVEs
CVE-2022-0235
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 10:04 UTC · Revision 1

Source evidence

node-fetch vulnerability

core-osv · Original source

Published 13 Jun 2023, 14:07 UTC

It was discovered that Node Fetch incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to obtain sensitive information.

osv:USN-6158-1

node-fetch

Fixed versions: 1.7.3-1ubuntu0.1~esm1

node-fetch

Fixed versions: 1.7.3-2ubuntu0.1

Complete source record
{
  "id": "45c45d7d8b54dc50bdd0edc53ce6f0d3021f96cc62edd91c1abc18be57b39753",
  "url": "https://osv.dev/vulnerability/USN-6158-1",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "node-fetch vulnerability",
    "summary": "It was discovered that Node Fetch incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to obtain sensitive information.",
    "evidence": "osv:USN-6158-1",
    "products": [
      {
        "name": {
          "value": "node-fetch",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.7.3-1ubuntu0.1~esm1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.7.3-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-fetch",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.7.3-2ubuntu0.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.7.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.7.3-2",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "USN-6158-1",
      "aliases": [
        "USN-6158-1"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.7.3-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-fetch",
            "purl": "pkg:deb/ubuntu/node-fetch?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.7.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6158-1.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2022-0235",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:Pro:18.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-fetch",
                "binary_version": "1.7.3-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.7.3-2ubuntu0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-fetch",
            "purl": "pkg:deb/ubuntu/node-fetch?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.7.3-1",
            "1.7.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6158-1.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2022-0235",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:20.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-fetch",
                "binary_version": "1.7.3-2ubuntu0.1"
              }
            ],
            "availability": "No subscription required"
          }
        }
      ],
      "modified": "2026-10-08T19:46:44.394811691Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-0235",
        "UBUNTU-CVE-2022-0235"
      ],
      "references": [
        "https://ubuntu.com/security/notices/USN-6158-1",
        "https://ubuntu.com/security/CVE-2022-0235"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-0235",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 104530,
  "published_at": "2023-06-13T14:07:10+00:00"
}