Bug 1133035 (CVE-2019-3902) - VUL-1: CVE-2019-3902: mercurial: use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.
Summary: VUL-1: CVE-2019-3902: mercurial: use symlinks and subrepositories to defeat M...
Status: RESOLVED FIXED
Alias: CVE-2019-3902
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Minor
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/230004/
Whiteboard: CVSSv3:SUSE:CVE-2019-3902:5.0:(AV:L/A...
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-23 06:13 UTC by Marcus Meissner
Modified: 2024-05-07 09:06 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meissner 2019-04-23 06:13:46 UTC
CONFIRM:bugzilla.redhat.com:CVE-2019-3902

A flaw was found in Mercurial before 4.9. It was possible to use symlinks and
subrepositories to defeat Mercurial's path-checking logic and write files
outside a repository.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-3902
http://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-3902.html
http://www.cvedetails.com/cve/CVE-2019-3902/
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3902
Comment 4 Takashi Iwai 2019-05-17 15:21:34 UTC
Backported to relevant branches.

Reassigning back to security team.
Comment 6 Liu Shukui 2020-06-19 07:42:32 UTC
I failed to find a reproducer, will skip the bug verification.
Comment 7 Swamp Workflow Management 2020-06-23 13:16:32 UTC
SUSE-SU-2020:1709-1: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1133035
CVE References: CVE-2019-3902
Sources used:
SUSE Linux Enterprise Module for Python2 15-SP1 (src):    mercurial-4.5.2-3.9.44

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Swamp Workflow Management 2020-06-26 16:16:17 UTC
openSUSE-SU-2020:0869-1: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1133035
CVE References: CVE-2019-3902
Sources used:
openSUSE Leap 15.1 (src):    mercurial-4.5.2-lp151.6.3.1
Comment 9 Swamp Workflow Management 2020-06-27 13:14:00 UTC
openSUSE-SU-2020:0880-1: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1133035
CVE References: CVE-2019-3902
Sources used:
openSUSE Leap 15.2 (src):    mercurial-4.5.2-lp152.7.3.1
Comment 10 Swamp Workflow Management 2020-07-15 16:31:06 UTC
SUSE-SU-2020:1709-2: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1133035
CVE References: CVE-2019-3902
Sources used:
SUSE Linux Enterprise Module for Python2 15-SP2 (src):    mercurial-4.5.2-3.9.44

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 11 Swamp Workflow Management 2020-10-22 19:20:22 UTC
SUSE-SU-2020:3003-1: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1133035
CVE References: CVE-2019-3902
JIRA References: 
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    mercurial-2.8.2-15.18.4

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Thomas Leroy 2024-05-07 09:06:51 UTC
All done, closing.