Skip to content
Heist/ feed
Back to feed
MediumFix available

jq — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2023-50268

jq is a command-line JSON processor. Version 1.7 is vulnerable to stack-based buffer overflow in builds using decNumber. Version 1.7.1 contains a patch for this issue.

Products
jq
Affected versions
Not specified
Fixed versions
1.7.1-r0
CVEs
CVE-2023-50268
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:12 UTC · Revision 1

Source evidence

ALPINE-CVE-2023-50268

core-osv · Original source

Published 13 Dec 2023, 21:15 UTC

jq is a command-line JSON processor. Version 1.7 is vulnerable to stack-based buffer overflow in builds using decNumber. Version 1.7.1 contains a patch for this issue.

osv:ALPINE-CVE-2023-50268

jq

Fixed versions: 1.7.1-r0

jq

Fixed versions: 1.7.1-r0

jq

Fixed versions: 1.7.1-r0

jq

Fixed versions: 1.7.1-r0

Complete source record
{
  "id": "bc79e462d66087bd13d756af0c591bd58819a6d8d780ffd26c7717fe30b46cd0",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-50268",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2023-50268",
    "summary": "jq is a command-line JSON processor. Version 1.7 is vulnerable to stack-based buffer overflow in builds using decNumber. Version 1.7.1 contains a patch for this issue.",
    "evidence": "osv:ALPINE-CVE-2023-50268",
    "products": [
      {
        "name": {
          "value": "jq",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.7.1-r0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "jq",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.7.1-r0",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "jq",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.7.1-r0",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "jq",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.7.1-r0",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "ALPINE-CVE-2023-50268",
      "aliases": [
        "ALPINE-CVE-2023-50268"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.7.1-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "jq",
            "purl": "pkg:apk/alpine/jq?arch=source",
            "ecosystem": "Alpine:v3.19"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-50268.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.7.1-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "jq",
            "purl": "pkg:apk/alpine/jq?arch=source",
            "ecosystem": "Alpine:v3.22"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-50268.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.7.1-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "jq",
            "purl": "pkg:apk/alpine/jq?arch=source",
            "ecosystem": "Alpine:v3.23"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-50268.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.7.1-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "jq",
            "purl": "pkg:apk/alpine/jq?arch=source",
            "ecosystem": "Alpine:v3.24"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-50268.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-26T17:17:58.658182096Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-50268"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2023-50268"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-50268",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 454717,
  "published_at": "2023-12-13T21:15:09.36+00:00"
}