Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-32822

4.0 · MEDIUM
Published Aug 16, 2021 hbs_project CWE-538 EPSS 1.18% (65th pctl)

Overview

CVE-2021-32822 is a medium-severity vulnerability affecting hbs_project hbs. It was published on August 16, 2021 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

The npm hbs package is an Express view engine wrapper for Handlebars. Depending on usage, users of hbs may be vulnerable to a file disclosure vulnerability. There is currently no patch for this vulnerability. hbs mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options a file disclosure vulnerability may be triggered in downstream applications. For an example PoC see the referenced GHSL-2021-020.

Remediation

Check the references section for vendor advisories and patches from hbs_project. Update hbs to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2021-32822?

CVE-2021-32822 is a medium-severity vulnerability affecting hbs_project hbs. It was published on August 16, 2021 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

How severe is CVE-2021-32822?

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-32822?

Check the references section for vendor advisories and patches from hbs_project. Update hbs to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-32822?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-32822 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.