Description
Mercurial before 1.0.2 does not enforce the allowpull permission setting for a pull operation from hgweb, which allows remote attackers to read arbitrary files from a repository via an "hg pull" request.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mercurial | 1.0.1-5.1 | — |
| Debian 13 | mercurial | 1.0.1-5.1 | — |
| Debian 12 | mercurial | 1.0.1-5.1 | — |
References
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0276
- https://issues.rpath.com/browse/RPL-2753
- ADV-2008-2604 vdb-entry
- SUSE-SR:2008:020 vendor-advisory
- [oss-security] 20080918 CVE Request (mercurial) mailing-list
- 32182 third-party-advisory
- mercurial-allowpull-info-disclosure(45229) vdb-entry
- http://www.selenic.com/mercurial/wiki/index.cgi/WhatsNew#head-905b8adb3420a77d92617e06590055bd8952e02b
- 20080917 rPSA-2008-0276-1 mercurial mercurial-hgk mailing-list
- 31223 vdb-entry