Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1572058 - (CVE-2018-10195) CVE-2018-10195 lrzsz: Integer overflow in src/zm.c:zsdata() causes crash in sz and can leak information to receiver
CVE-2018-10195 lrzsz: Integer overflow in src/zm.c:zsdata() causes crash in s...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180418,repor...
: Security
Depends On: 1572059 1572060
Blocks: 1572061
  Show dependency treegraph
 
Reported: 2018-04-26 02:03 EDT by Sam Fowler
Modified: 2018-04-27 05:34 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-27 05:34:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Fowler 2018-04-26 02:03:46 EDT
Lrzsz has an integer overflow vulernability in the src/zm.c:zsdata() function. An attacker could exploit this with the sz command to cause a crash or potentially leak information to the receiving server.


Additional References:

https://bugzilla.novell.com/show_bug.cgi?id=1090051
Comment 1 Sam Fowler 2018-04-26 02:04:08 EDT
Created lrzsz tracking bugs for this issue:

Affects: fedora-all [bug 1572059]
Comment 3 Miroslav Lichvar 2018-04-26 09:56:17 EDT
Does this affect our packages?

We have the following patch (added for bug #75473), which fixes the zsdata() function to handle a length of zero:
https://src.fedoraproject.org/cgit/rpms/lrzsz.git/tree/lrzsz-0.12.20.patch

The changelog of the SUSE package indicates it was fixed in the 0.12.21rc version, but that seems to be a different bug, which is related to zero-length files and mmap().
Comment 4 Sam Fowler 2018-04-27 01:38:53 EDT
(In reply to Miroslav Lichvar from comment #3)
> Does this affect our packages?
> 
> We have the following patch (added for bug #75473), which fixes the zsdata()
> function to handle a length of zero:
> https://src.fedoraproject.org/cgit/rpms/lrzsz.git/tree/lrzsz-0.12.20.patch
> 
> The changelog of the SUSE package indicates it was fixed in the 0.12.21rc
> version, but that seems to be a different bug, which is related to
> zero-length files and mmap().

I overlooked the patch, so I think you are correct and our packages are not affected. Happy for this bug and it's trackers to be closed as NOTABUG.
Comment 5 Cedric Buissart 2018-04-27 05:34:18 EDT
Statement:

This issue did not affect the versions of lrzsz as shipped with Red Hat Enterprise Linux 5, 6, and 7. A patch was already applied for this vulnerability.

Note You need to log in before you can comment on or make changes to this bug.