gsd-2021-29923
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. This affects net.ParseIP and net.ParseCIDR.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2021-29923",
    "description": "Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. This affects net.ParseIP and net.ParseCIDR.",
    "id": "GSD-2021-29923",
    "references": [
      "https://www.suse.com/security/cve/CVE-2021-29923.html",
      "https://access.redhat.com/errata/RHSA-2022:0561",
      "https://access.redhat.com/errata/RHSA-2022:0557",
      "https://access.redhat.com/errata/RHSA-2022:0434",
      "https://access.redhat.com/errata/RHSA-2022:0432",
      "https://access.redhat.com/errata/RHSA-2022:0431",
      "https://access.redhat.com/errata/RHSA-2022:0318",
      "https://access.redhat.com/errata/RHSA-2022:0260",
      "https://access.redhat.com/errata/RHSA-2022:0237",
      "https://access.redhat.com/errata/RHSA-2021:4914",
      "https://access.redhat.com/errata/RHSA-2021:4910",
      "https://access.redhat.com/errata/RHSA-2021:4902",
      "https://access.redhat.com/errata/RHSA-2021:4725",
      "https://access.redhat.com/errata/RHSA-2021:4722",
      "https://access.redhat.com/errata/RHSA-2021:3585",
      "https://access.redhat.com/errata/RHSA-2021:3431",
      "https://security.archlinux.org/CVE-2021-29923",
      "https://access.redhat.com/errata/RHSA-2022:0577",
      "https://access.redhat.com/errata/RHSA-2022:0947",
      "https://access.redhat.com/errata/RHSA-2022:0988",
      "https://access.redhat.com/errata/RHSA-2022:0989",
      "https://access.redhat.com/errata/RHSA-2022:0997",
      "https://access.redhat.com/errata/RHSA-2022:0998",
      "https://access.redhat.com/errata/RHSA-2022:1276",
      "https://access.redhat.com/errata/RHSA-2022:1372",
      "https://linux.oracle.com/cve/CVE-2021-29923.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-29923"
      ],
      "details": "Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. This affects net.ParseIP and net.ParseCIDR.",
      "id": "GSD-2021-29923",
      "modified": "2023-12-13T01:23:36.622313Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-29923",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. This affects net.ParseIP and net.ParseCIDR."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://golang.org/pkg/net/#ParseCIDR",
            "refsource": "MISC",
            "url": "https://golang.org/pkg/net/#ParseCIDR"
          },
          {
            "name": "https://www.oracle.com/security-alerts/cpujan2022.html",
            "refsource": "MISC",
            "url": "https://www.oracle.com/security-alerts/cpujan2022.html"
          },
          {
            "name": "https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis",
            "refsource": "MISC",
            "url": "https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis"
          },
          {
            "name": "https://github.com/golang/go/issues/43389",
            "refsource": "MISC",
            "url": "https://github.com/golang/go/issues/43389"
          },
          {
            "name": "https://github.com/golang/go/issues/30999",
            "refsource": "MISC",
            "url": "https://github.com/golang/go/issues/30999"
          },
          {
            "name": "https://go-review.googlesource.com/c/go/+/325829/",
            "refsource": "MISC",
            "url": "https://go-review.googlesource.com/c/go/+/325829/"
          },
          {
            "name": "https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md",
            "refsource": "MISC",
            "url": "https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md"
          },
          {
            "name": "FEDORA-2022-17d004ed71",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/"
          },
          {
            "name": "GLSA-202208-02",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/202208-02"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.17",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:oracle:timesten_in-memory_database:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "21.1.1.1.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2021-29923"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. This affects net.ParseIP and net.ParseCIDR."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/golang/go/issues/43389",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://github.com/golang/go/issues/43389"
            },
            {
              "name": "https://github.com/golang/go/issues/30999",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://github.com/golang/go/issues/30999"
            },
            {
              "name": "https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis"
            },
            {
              "name": "https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md"
            },
            {
              "name": "https://golang.org/pkg/net/#ParseCIDR",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://golang.org/pkg/net/#ParseCIDR"
            },
            {
              "name": "https://go-review.googlesource.com/c/go/+/325829/",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://go-review.googlesource.com/c/go/+/325829/"
            },
            {
              "name": "https://www.oracle.com/security-alerts/cpujan2022.html",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://www.oracle.com/security-alerts/cpujan2022.html"
            },
            {
              "name": "FEDORA-2022-17d004ed71",
              "refsource": "FEDORA",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/"
            },
            {
              "name": "GLSA-202208-02",
              "refsource": "GENTOO",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://security.gentoo.org/glsa/202208-02"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.0,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2022-09-14T21:11Z",
      "publishedDate": "2021-08-07T17:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.