Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-40403

An information disclosure vulnerability exists in the pick-and-place rotation parsing functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.8.0. A specially-crafted pick-and-place file can exploit the missing initialization of a structure to leak memory contents. An attacker can provide a malicious file to trigger this vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-40403
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:19 UTC · Revision 1

Source evidence

CVE-2021-40403

core-osv · Original source

Published 4 Feb 2022, 23:15 UTC

An information disclosure vulnerability exists in the pick-and-place rotation parsing functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.8.0. A specially-crafted pick-and-place file can exploit the missing initialization of a structure to leak memory contents. An attacker can provide a malicious file to trigger this vulnerability.

osv:CVE-2021-40403
Complete source record
{
  "id": "901290c96b25b3661b0868073d8c268225e072e64a1013dab21cdccd934f4df7",
  "url": "https://osv.dev/vulnerability/CVE-2021-40403",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-40403",
    "summary": "An information disclosure vulnerability exists in the pick-and-place rotation parsing functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.8.0. A specially-crafted pick-and-place file can exploit the missing initialization of a structure to leak memory contents. An attacker can provide a malicious file to trigger this vulnerability.",
    "evidence": "osv:CVE-2021-40403",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-40403",
      "aliases": [
        "CVE-2021-40403"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gerbv/gerbv",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3c70dc88260086e303ff8722dc9e6aec73e3b7e2"
                },
                {
                  "last_affected": "e0c64540ff3ede9eabc199c073df8598fb4d12dd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gerbv_project:gerbv:2.7.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.7.0-NA"
                      },
                      {
                        "last_affected": "2.7.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gerbv_project:gerbv:2.8.0:forked_dev:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.8.0-forked_dev"
                      },
                      {
                        "last_affected": "2.8.0-forked_dev"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.7.0-NA",
            "2.8.0-forked_dev",
            "v2.8.0",
            "v2.8.0-rc.1",
            "gerbv-2-8-0-RC-1",
            "v2.7.0",
            "gerbv-2-7-RELEASE"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40403.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:27.112923173Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTGBC37N2FV7NKOWFVCFMPAFYEPHSB7C/",
        "https://www.debian.org/security/2022/dsa-5306",
        "https://talosintelligence.com/vulnerability_reports/TALOS-2021-1417"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.0"
                  },
                  {
                    "last_affected": "11.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "36"
                  },
                  {
                    "last_affected": "36"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-40403",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431757,
  "published_at": "2022-02-04T23:15:11.873+00:00"
}