A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurials path-checking logic and write files outside a repository.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Mercurial | Mercurial | * | 4.9 (excluding) |
Mercurial | Ubuntu | bionic | * |
Mercurial | Ubuntu | cosmic | * |
Mercurial | Ubuntu | disco | * |
Mercurial | Ubuntu | esm-apps/xenial | * |
Mercurial | Ubuntu | trusty | * |
Mercurial | Ubuntu | trusty/esm | * |
Mercurial | Ubuntu | upstream | * |
Mercurial | Ubuntu | xenial | * |