Security mailing lists by PureSourceCode

CVE-2021-41170

CRITICAL 9.8CVSS 3.1

Insecure Inherited Permissions in neoan3-apps/template

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.

Published
8 Nov 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-277CWE-732CWE-74
Also known as
GHSA-3v56-q6r6-4gcw
Sources
NVDJSONOSV GHSA-3v56-q6r6-4gcwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD neoan neoan3-template
cpe:2.3:a:neoan:neoan3-template:*:*:*:*:*:*:*:*
< 1.1.1 1.1.1
OSV Packagist neoan3-apps/template < 1.1.1 1.1.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Nov 2021)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 10 Nov 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.