Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 641
    • Issues 641
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 202
    • Merge Requests 202
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #9849

Closed
Open
Opened Jan 10, 2019 by Alicha CH@alichaReporter

[3.7] tar: Infinite read loop in sparse_dump_region function in sparse.c (CVE-2018-20482)

GNU Tar through 1.30, when —sparse is used, mishandles file shrinkage during read access, which allows local users to cause
a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by
a different user’s process (e.g., a system backup running as root).

References:

https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug
https://nvd.nist.gov/vuln/detail/CVE-2018-20482

Patch:

http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42c

(from redmine: issue id 9849, created on 2019-01-10, closed on 2019-01-18)

  • Relations:
    • parent #9847 (closed)
  • Changesets:
    • Revision e37604c4 on 2019-01-17T15:22:38Z:
main/tar: security upgrade to 1.31

fixes #9849
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
3.7.2
Milestone
3.7.2
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#9849