SecurityContext

CVE-2021-32281: gravity - Buffer Overflow

  • Cve: CVE-2021-32281
  • Name: gravity - Buffer Overflow
  • Description: An issue was discovered in gravity through 0.8.1. A heap-buffer-overflow exists in the function gnode_function_add_upvalue located in gravity_ast.c. It allows an attacker to cause code Execution.
  • Impact: Attackers can cause code execution by exploiting the heap-buffer-overflow, potentially leading to remote code execution or system compromise.
  • Remediation: Update to the latest version of gravity that addresses this vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.01052
  • Epss percentile: 0.65002
  • Assignee: [email protected]
  • Published at: 2021-09-20T16:15:10Z
  • Age in days: 1891
  • Modified at: 2026-06-17T03:52:54Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32281
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/marcobambini/gravity/issues/313nvd2021-09-20

References

UrlSourceTags
https://github.com/marcobambini/gravity/issues/313nvdExploit, Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
creolabs:gravity<= 0.8.1nonvd/v1/products/creolabs/gravity

Projects

RepositoryLink kindsIndexedUrl
marcobambini/gravityissuesyes/v1/repositories/marcobambini/gravity

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-09-20
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts