CVE-2021-43676 Path manipulation in matyhtf/framework

Critical 9.8 Published Updated

Attackers can manipulate file paths in the matyhtf framework to read or modify arbitrary files on the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-43676?

CVE-2021-43676 is a critical path traversal vulnerability in n/a, published on 3 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

matyhtf framework v3.0.5 is affected by a path manipulation vulnerability in Smarty.class.php.

Weakness: CWE-22

Which versions are affected by CVE-2021-43676?

2 open source packages ship an affected version, including matyhtf/framework. It affects 1 product.

PackageAffectedFixed in
matyhtf/framework PackagistAll versions3.0.6
matyhtf/framework PackagistAll versions3.0.6

Products include Swoole Swoole Php Framework.

How do I fix CVE-2021-43676?

Upgrade matyhtf/framework to 3.0.6 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-43676 being exploited?

There is no known exploitation of CVE-2021-43676 in the wild and no public exploit code.

Sources

Also known as GHSA-mh9j-v6mq-pfch.

Is CVE-2021-43676 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free