-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access to previously freed memory #704
Comments
ncopa
added a commit
to ncopa/rsync
that referenced
this issue
Jan 15, 2025
full_fname() will free the return value in the next call so we need to duplicate it before passing it to rsyserr. Fixes: RsyncProject#704
algitbot
pushed a commit
to alpinelinux/aports
that referenced
this issue
Jan 15, 2025
Fixes the following CVEs: - CVE-2024-12084 - CVE-2024-12085 - CVE-2024-12086 - CVE-2024-12087 - CVE-2024-12088 - CVE-2024-12747 Also backport fixes for a regression and a use-after-free. ref: https://github.com/RsyncProject/rsync/blob/master/NEWS.md#news-for-rsync-340-15-jan-2025 ref: RsyncProject/rsync#702 ref: RsyncProject/rsync#704
algitbot
pushed a commit
to alpinelinux/aports
that referenced
this issue
Jan 15, 2025
Fixes the following CVEs: - CVE-2024-12084 - CVE-2024-12085 - CVE-2024-12086 - CVE-2024-12087 - CVE-2024-12088 - CVE-2024-12747 Also backport fixes for a regression and a use-after-free. ref: https://github.com/RsyncProject/rsync/blob/master/NEWS.md#news-for-rsync-340-15-jan-2025 ref: RsyncProject/rsync#702 ref: RsyncProject/rsync#704 (cherry picked from commit 10532b7)
algitbot
pushed a commit
to alpinelinux/aports
that referenced
this issue
Jan 15, 2025
Fixes the following CVEs: - CVE-2024-12084 - CVE-2024-12085 - CVE-2024-12086 - CVE-2024-12087 - CVE-2024-12088 - CVE-2024-12747 Also backport fixes for a regression and a use-after-free. ref: https://github.com/RsyncProject/rsync/blob/master/NEWS.md#news-for-rsync-340-15-jan-2025 ref: RsyncProject/rsync#702 ref: RsyncProject/rsync#704 (cherry picked from commit 10532b7)
algitbot
pushed a commit
to alpinelinux/aports
that referenced
this issue
Jan 15, 2025
Fixes the following CVEs: - CVE-2024-12084 - CVE-2024-12085 - CVE-2024-12086 - CVE-2024-12087 - CVE-2024-12088 - CVE-2024-12747 Also backport fixes for a regression and a use-after-free. ref: https://github.com/RsyncProject/rsync/blob/master/NEWS.md#news-for-rsync-340-15-jan-2025 ref: RsyncProject/rsync#702 ref: RsyncProject/rsync#704 (cherry picked from commit 10532b7)
algitbot
pushed a commit
to alpinelinux/aports
that referenced
this issue
Jan 15, 2025
Fixes the following CVEs: - CVE-2024-12084 - CVE-2024-12085 - CVE-2024-12086 - CVE-2024-12087 - CVE-2024-12088 - CVE-2024-12747 Also backport fixes for a regression and a use-after-free. ref: https://github.com/RsyncProject/rsync/blob/master/NEWS.md#news-for-rsync-340-15-jan-2025 ref: RsyncProject/rsync#702 ref: RsyncProject/rsync#704 (cherry picked from commit 10532b7) (cherry picked from commit 3a66ced)
13 tasks
tridge
pushed a commit
that referenced
this issue
Jan 15, 2025
full_fname() will free the return value in the next call so we need to duplicate it before passing it to rsyserr. Fixes: #704
bell-sw
pushed a commit
to bell-sw/alpaquita-aports
that referenced
this issue
Jan 16, 2025
[ commit 10532b77dcbf95eec84c2c6b07f4680492cc7615 ] Fixes the following CVEs: - CVE-2024-12084 - CVE-2024-12085 - CVE-2024-12086 - CVE-2024-12087 - CVE-2024-12088 - CVE-2024-12747 Also backport fixes for a regression and a use-after-free. ref: https://github.com/RsyncProject/rsync/blob/master/NEWS.md#news-for-rsync-340-15-jan-2025 ref: RsyncProject/rsync#702 ref: RsyncProject/rsync#704
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As
full_fname
returns a static pointer when it's used twice in the same print message the second call will free the space allocated for by the firstfull_fname
call, causingrsyserr
to read freed memory, as in here:rsync/generator.c
Lines 2044 to 2045 in dacadd5
This may cause gibberish output or potentially even a SIGSEV.
The text was updated successfully, but these errors were encountered: