CVE-2021-22553 (GCVE-0-2021-22553)

Vulnerability from cvelistv5 – Published: 2021-02-17 12:05 – Updated: 2024-09-16 19:51
VLAI
Title
Heap Memory exhaustion in Gerrit
Summary
Any git operation is passed through Jetty and a session is created. No expiry is set for the session and Jetty does not automatically dispose of the session. Over multiple git actions, this can lead to a heap memory exhaustion for Gerrit servers. We recommend upgrading Gerrit to any of the versions listed above.
CWE
  • CWE-400 - Uncontrolled Resource Consumption
Assigner
Google CNA under the Google root
CNA scorecard C 75/100 over 32 records in the last 180 days details
References
Impacted products
Vendor Product Version CPE status
Google LLC Gerrit Affected: unspecified , < 2.15.22 (custom)
Affected: unspecified , < 2.16.26 (custom)
Affected: unspecified , < 3.0.16 (custom)
Affected: unspecified , < 3.1.12 (custom)
Affected: unspecified , < 3.2.7 (custom)
Affected: unspecified , < 3.3.2 (custom)
guessed Create a notification for this product.
Date Public
2021-01-31 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T18:44:14.059Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://bugs.chromium.org/p/gerrit/issues/detail?id=13858"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "Gerrit",
          "vendor": "Google LLC",
          "versions": [
            {
              "lessThan": "2.15.22",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "2.16.26",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "3.0.16",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "3.1.12",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "3.2.7",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "3.3.2",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Antoine Musso"
        }
      ],
      "datePublic": "2021-01-31T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "Any git operation is passed through Jetty and a session is created. No expiry is set for the session and Jetty does not automatically dispose of the session. Over multiple git actions, this can lead to a heap memory exhaustion for Gerrit servers. We recommend upgrading Gerrit to any of the versions listed above."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-400",
              "description": "CWE-400 Uncontrolled Resource Consumption",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2021-02-17T12:05:17.000Z",
        "orgId": "14ed7db2-1595-443d-9d34-6215bf890778",
        "shortName": "Google"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://bugs.chromium.org/p/gerrit/issues/detail?id=13858"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "We recommend upgrading Gerrit to any version listed above."
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Heap Memory exhaustion in Gerrit",
      "x_generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "security@google.com",
          "DATE_PUBLIC": "2021-01-31T23:00:00.000Z",
          "ID": "CVE-2021-22553",
          "STATE": "PUBLIC",
          "TITLE": "Heap Memory exhaustion in Gerrit"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "Gerrit",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "\u003c",
                            "version_value": "2.15.22"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_value": "2.16.26"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_value": "3.0.16"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_value": "3.1.12"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_value": "3.2.7"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_value": "3.3.2"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "Google LLC"
              }
            ]
          }
        },
        "credit": [
          {
            "lang": "eng",
            "value": "Antoine Musso"
          }
        ],
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "Any git operation is passed through Jetty and a session is created. No expiry is set for the session and Jetty does not automatically dispose of the session. Over multiple git actions, this can lead to a heap memory exhaustion for Gerrit servers. We recommend upgrading Gerrit to any of the versions listed above."
            }
          ]
        },
        "generator": {
          "engine": "Vulnogram 0.0.9"
        },
        "impact": {
          "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
            "version": "3.1"
          }
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-400 Uncontrolled Resource Consumption"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bugs.chromium.org/p/gerrit/issues/detail?id=13858",
              "refsource": "MISC",
              "url": "https://bugs.chromium.org/p/gerrit/issues/detail?id=13858"
            }
          ]
        },
        "solution": [
          {
            "lang": "en",
            "value": "We recommend upgrading Gerrit to any version listed above."
          }
        ],
        "source": {
          "discovery": "EXTERNAL"
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "14ed7db2-1595-443d-9d34-6215bf890778",
    "assignerShortName": "Google",
    "cveId": "CVE-2021-22553",
    "datePublished": "2021-02-17T12:05:17.410Z",
    "dateReserved": "2021-01-05T00:00:00.000Z",
    "dateUpdated": "2024-09-16T19:51:15.662Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2021-22553",
      "date": "2026-10-08",
      "epss": "0.00368",
      "percentile": "0.28567"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "CA106DC3-BD15-42E3-80D1-C83267AE45D5",
                  "versionEndExcluding": "2.15.22",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "86ABAE59-1B32-4598-9513-793862CCC88C",
                  "versionEndExcluding": "2.16.26",
                  "versionStartIncluding": "2.16.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "CB09EBE5-D228-49EE-80AC-978661C5284A",
                  "versionEndExcluding": "3.0.16",
                  "versionStartIncluding": "3.0.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E263BE88-AF2F-4D06-A7CF-A9D806EC3A7E",
                  "versionEndExcluding": "3.1.12",
                  "versionStartIncluding": "3.1.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "D5660350-95CD-4E70-A2A7-92D4E0554776",
                  "versionEndExcluding": "3.2.7",
                  "versionStartIncluding": "3.2.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "8D44029D-AC7C-4D24-BEEA-25712B1DF63D",
                  "versionEndExcluding": "3.3.2",
                  "versionStartIncluding": "3.3.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Any git operation is passed through Jetty and a session is created. No expiry is set for the session and Jetty does not automatically dispose of the session. Over multiple git actions, this can lead to a heap memory exhaustion for Gerrit servers. We recommend upgrading Gerrit to any of the versions listed above."
        },
        {
          "lang": "es",
          "value": "Cualquier operaci\u00f3n git es pasada a trav\u00e9s de Jetty y es creada una sesi\u00f3n. No es ajustada ninguna fecha de expiraci\u00f3n para la sesi\u00f3n y Jetty no elimina autom\u00e1ticamente la sesi\u00f3n. Durante m\u00faltiples acciones git, esto puede conllevar a un agotamiento de la memoria de la pila para los servidores de Gerrit. Recomendamos actualizar Gerrit a cualquiera de las versiones mencionadas anteriormente"
        }
      ],
      "id": "CVE-2021-22553",
      "lastModified": "2024-11-21T05:50:19.220",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "PARTIAL",
              "baseScore": 5.0,
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
              "version": "2.0"
            },
            "exploitabilityScore": 10.0,
            "impactScore": 2.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 6.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 3.6,
            "source": "cve-coordination@google.com",
            "type": "Secondary"
          },
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2021-02-17T12:15:12.063",
      "references": [
        {
          "source": "cve-coordination@google.com",
          "tags": [
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://bugs.chromium.org/p/gerrit/issues/detail?id=13858"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Issue Tracking",
            "Third Party Advisory"
          ],
          "url": "https://bugs.chromium.org/p/gerrit/issues/detail?id=13858"
        }
      ],
      "sourceIdentifier": "cve-coordination@google.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-400"
            }
          ],
          "source": "cve-coordination@google.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-772"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "CA106DC3-BD15-42E3-80D1-C83267AE45D5",
                    "versionEndExcluding": "2.15.22",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "86ABAE59-1B32-4598-9513-793862CCC88C",
                    "versionEndExcluding": "2.16.26",
                    "versionStartIncluding": "2.16.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "CB09EBE5-D228-49EE-80AC-978661C5284A",
                    "versionEndExcluding": "3.0.16",
                    "versionStartIncluding": "3.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E263BE88-AF2F-4D06-A7CF-A9D806EC3A7E",
                    "versionEndExcluding": "3.1.12",
                    "versionStartIncluding": "3.1.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D5660350-95CD-4E70-A2A7-92D4E0554776",
                    "versionEndExcluding": "3.2.7",
                    "versionStartIncluding": "3.2.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8D44029D-AC7C-4D24-BEEA-25712B1DF63D",
                    "versionEndExcluding": "3.3.2",
                    "versionStartIncluding": "3.3.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Any git operation is passed through Jetty and a session is created. No expiry is set for the session and Jetty does not automatically dispose of the session. Over multiple git actions, this can lead to a heap memory exhaustion for Gerrit servers. We recommend upgrading Gerrit to any of the versions listed above."
          },
          {
            "lang": "es",
            "value": "Cualquier operaci\u00f3n git es pasada a trav\u00e9s de Jetty y es creada una sesi\u00f3n. No es ajustada ninguna fecha de expiraci\u00f3n para la sesi\u00f3n y Jetty no elimina autom\u00e1ticamente la sesi\u00f3n. Durante m\u00faltiples acciones git, esto puede conllevar a un agotamiento de la memoria de la pila para los servidores de Gerrit. Recomendamos actualizar Gerrit a cualquiera de las versiones mencionadas anteriormente"
          }
        ],
        "id": "CVE-2021-22553",
        "lastModified": "2024-11-21T05:50:19.220",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 5.0,
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 10.0,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 3.6,
              "source": "cve-coordination@google.com",
              "type": "Secondary"
            },
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2021-02-17T12:15:12.063",
        "references": [
          {
            "source": "cve-coordination@google.com",
            "tags": [
              "Issue Tracking",
              "Third Party Advisory"
            ],
            "url": "https://bugs.chromium.org/p/gerrit/issues/detail?id=13858"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Issue Tracking",
              "Third Party Advisory"
            ],
            "url": "https://bugs.chromium.org/p/gerrit/issues/detail?id=13858"
          }
        ],
        "sourceIdentifier": "cve-coordination@google.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-400"
              }
            ],
            "source": "cve-coordination@google.com",
            "type": "Secondary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-772"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2026-03-27T14:50:00+00:00",
      "cve": "CVE-2021-22553",
      "id": "CVE-2021-22553",
      "initial_release_date": "2021-01-31T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "Heap Memory exhaustion in Gerrit",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-22553.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…