CVE-2021-41170
Last modified
CVE-2021-41170 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.53% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Neoan | Neoan3-Template | < 1.1.1 |
References
- https://github.com/sroehrl/neoan3-template/commit/4a2c9570f071d3c8f4ac790007599cba20e16934Patch, Third Party Advisory
- https://github.com/sroehrl/neoan3-template/issues/8Issue Tracking, Patch, Third Party Advisory
- https://github.com/sroehrl/neoan3-template/security/advisories/GHSA-3v56-q6r6-4gcwPatch, Third Party Advisory
- https://github.com/sroehrl/neoan3-template/commit/4a2c9570f071d3c8f4ac790007599cba20e16934Patch, Third Party Advisory
- https://github.com/sroehrl/neoan3-template/issues/8Issue Tracking, Patch, Third Party Advisory
- https://github.com/sroehrl/neoan3-template/security/advisories/GHSA-3v56-q6r6-4gcwPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41170?
How severe is CVE-2021-41170?
How do I fix CVE-2021-41170?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41165CKEditor4 is an open source WYSIWYG HTML editor. In affected…5.4
- CVE-2021-41166The Nextcloud Android app is the Android client for Nextclou…5.3
- CVE-2021-41167modern-async is an open source JavaScript tooling library fo…7.5
- CVE-2021-41168Snudown is a reddit-specific fork of the Sundown Markdown pa…6.5
- CVE-2021-41169Sulu is an open-source PHP content management system based o…4.8
- CVE-2021-4117yetiforcecrm is vulnerable to Business Logic Errors4.3
- CVE-2021-41171eLabFTW is an open source electronic lab notebook manager fo…8.8
- CVE-2021-41172AS_Redis is an AntSword plugin for Redis. The Redis Manage p…5.4
- CVE-2021-41173Go Ethereum is the official Golang implementation of the Eth…5.7
- CVE-2021-41174Grafana is an open-source platform for monitoring and observ…6.1
- CVE-2021-41175Pi-hole's Web interface (based on AdminLTE) provides a centr…5.4
- CVE-2021-41176Pterodactyl is an open-source game server management panel b…4.3
Are you affected by CVE-2021-41170?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
