Insecure Inherited Permissions Affecting neoan3-apps/template package, versions <1.1.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-NEOAN3APPSTEMPLATE-1913037
  • published9 Nov 2021
  • disclosed9 Nov 2021
  • creditUnknown

Introduced: 9 Nov 2021

CVE-2021-41170  (opens in a new tab)
CWE-277  (opens in a new tab)

How to fix?

Upgrade neoan3-apps/template to version 1.1.1 or higher.

Overview

neoan3-apps/template is a neoan3 minimal template engine

Affected versions of this package are vulnerable to Insecure Inherited Permissions which allows for passing inclosures directly into the template engine. As a result, values that are callable are executed by the template engine.

Note: 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.

CVSS Scores

version 3.1