Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-4076

A flaw exists in tang, a network-based cryptographic binding server, which could result in leak of private keys.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-4076
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:53 UTC · Revision 1

Source evidence

CVE-2021-4076

core-osv · Original source

Published 2 Mar 2022, 23:15 UTC

A flaw exists in tang, a network-based cryptographic binding server, which could result in leak of private keys.

osv:CVE-2021-4076
Complete source record
{
  "id": "6f6752f1aa58c7de0ef37de6ced957236cc451d4d2a7662b26204d65aa0def50",
  "url": "https://osv.dev/vulnerability/CVE-2021-4076",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-4076",
    "summary": "A flaw exists in tang, a network-based cryptographic binding server, which could result in leak of private keys.",
    "evidence": "osv:CVE-2021-4076",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-4076",
      "aliases": [
        "CVE-2021-4076"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/latchset/tang",
              "type": "GIT",
              "events": [
                {
                  "introduced": "95d482256f2d44bd6819df4e41a278937a9827b5"
                },
                {
                  "fixed": "e2059ee1109510a7c14b099af7dcd8631e598270"
                },
                {
                  "fixed": "e82459fda10f0630c3414ed2afbc6320bb9ea7c9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tang_project:tang:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8"
                      },
                      {
                        "fixed": "11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e82459fda10f0630c3414ed2afbc6320bb9ea7c9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v10",
            "v9",
            "v8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4076.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-4076-19664f9a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "321797572174589311185280721370236285163",
                    "219769667748189783138691646782685952019",
                    "132120897176107703105723149812997661307",
                    "228571459031241612021813953457909281020",
                    "333155183931419958214339303597001515660",
                    "142432846293902357827796392072618620397",
                    "36818127767668096131097085253036704246",
                    "260498514133476251456968983631990732981",
                    "295113798126378960367708175393299910570",
                    "145739244979129595320092595439958970046",
                    "74233171872064277006537922218599543276",
                    "281373293986799396679349497865044966948",
                    "70117604069304535824810280700220952219",
                    "29383717379534866724731093523005525795",
                    "17571709610943419114721444398555145269",
                    "195943819114117558545208026242705711389",
                    "113098445392117747656105157736031535500",
                    "326096568519318242638522331926838303191",
                    "240534953806234096456311387736915732663",
                    "39207971571012342078727697227884050900"
                  ]
                },
                "source": "https://github.com/latchset/tang/commit/e82459fda10f0630c3414ed2afbc6320bb9ea7c9",
                "target": {
                  "file": "src/keys.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4076-c012c8ad",
                "digest": {
                  "length": 815,
                  "function_hash": "136612934161186189206674997866259629427"
                },
                "source": "https://github.com/latchset/tang/commit/e82459fda10f0630c3414ed2afbc6320bb9ea7c9",
                "target": {
                  "file": "src/keys.c",
                  "function": "find_by_thp"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4076-f7dd0136",
                "digest": {
                  "length": 277,
                  "function_hash": "149967995752714570335066650740858870954"
                },
                "source": "https://github.com/latchset/tang/commit/e82459fda10f0630c3414ed2afbc6320bb9ea7c9",
                "target": {
                  "file": "src/keys.c",
                  "function": "find_jws"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:29:23Z"
          }
        }
      ],
      "modified": "2026-10-20T14:29:23.616235976Z",
      "provider": "osv",
      "references": [
        "https://bugzilla.redhat.com/show_bug.cgi?id=2029814",
        "https://github.com/latchset/tang/commit/e82459fda10f0630c3414ed2afbc6320bb9ea7c9",
        "https://github.com/latchset/tang/pull/81"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-4076",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 389068,
  "published_at": "2022-03-02T23:15:09.187+00:00"
}