SecurityContext

CVE-2020-8442: OSSEC-HIDS - Buffer Overflow

  • Cve: CVE-2020-8442
  • Name: OSSEC-HIDS - Buffer Overflow
  • Description: In OSSEC-HIDS 2.7 through 3.5.0, the server component responsible for log analysis (ossec-analysisd) is vulnerable to a heap-based buffer overflow in the rootcheck decoder component via an authenticated client.
  • Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update to the latest version of OSSEC-HIDS beyond 3.5.0.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be an authenticated client
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02385
  • Epss percentile: 0.84348
  • Assignee: [email protected]
  • Published at: 2020-01-30T01:15:10Z
  • Age in days: 2490
  • Modified at: 2026-06-17T03:26:23Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-8442
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/ossec/ossec-hids/issues/1820nvd2020-01-30

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ossec/ossec-hids/issues/1820Exploit, Patch, Third Party Advisory
https://www.ossec.net/Vendor Advisory
https://github.com/ossec/ossec-hids/issues/1821Third Party Advisory
https://security.gentoo.org/glsa/202007-33Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
ossec:ossec>= 2.7, <= 3.5.0nonvd/v1/products/ossec/ossec

Projects

RepositoryLink kindsIndexedUrl
ossec/ossec-hidsissuesyes/v1/repositories/ossec/ossec-hids

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-01-30
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts