Improper authorization control for web services In mercurial

Description

Mercurial has Incorrect Permission Assignment for Critical Resource In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions
FLAT-3J7VY – Vulnerability | Fluid Attacks Database