Read the docs
TI-2021-18009 Aliases CVE-2021-41170GHSA-3v56-q6r6-4gcw

Evaluation of closures can lead to execution of methods & functions in current program scope

Priority MEDIUM 45CWE-277Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

neoan3-apps/template is a neoan3 minimal template engine. Versions prior to 1.1.1 have allowed for passing in closures directly into the template engine. As a result values that are callable are executed by the template engine. The issue arises if a value has the same name as a method or function in scope and can therefore be executed either by mistake or maliciously. In theory all users of the package are affected as long as they either deal with direct user input or database values. A multi-step attack on is therefore plausible. Version 1.1.1 has addressed this vulnerability. Unfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade.

Why it matters now

EPSS 0.01582 75th percentileScored 2026-11-07
Fix Fixed neoan3-template (sroehrl): 1.1.1neoan3-apps/template (Packagist): 1.1.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
sroehrlneoan3-templatebefore 1.1.11.1.1Patch availableCNA
—neoan3-apps/template (Packagist)before 1.1.11.1.1Patch availableGHSA-3v56-q6r6-4gcw
  • neoan3-template Vendorsroehrl Affected before 1.1.1 Fixed in 1.1.1 Patch available CNA
  • neoan3-apps/template (Packagist) Vendor— Affected before 1.1.1 Fixed in 1.1.1 Patch available GHSA-3v56-q6r6-4gcw

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:neoan:neoan3-template:*:*:*:*:*:*:*:*before 1.1.1VulnerableNeoan
  • cpe:2.3:a:neoan:neoan3-template:*:*:*:*:*:*:*:* Versions before 1.1.1 Vulnerable ·Neoan

Remediation

  • Fix · CNA neoan3-template (sroehrl) Fixed in 1.1.1
  • Fix · GHSA-3v56-q6r6-4gcw neoan3-apps/template (Packagist) Fixed in 1.1.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-41170
  2. 2026-10-03 Alias added: GHSA-3v56-q6r6-4gcw

References

Sources