Bug 32521 - radare2 new security issues CVE-2023-4322 and CVE-2023-5686
Summary: radare2 new security issues CVE-2023-4322 and CVE-2023-5686
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: https://lists.fedoraproject.org/archi...
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-11-14 16:16 CET by Nicolas Salguero
Modified: 2024-02-19 19:17 CET (History)
5 users (show)

See Also:
Source RPM: radare2-5.8.8-1.mga9.src.rpm
CVE: CVE-2023-4322 CVE-2023-5686
Status comment: Patches available from Fedora


Attachments

Description Nicolas Salguero 2023-11-14 16:16:01 CET
Fedora has issued an advisory today (November 14):
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/64KUV6OGEVQ75QOV35PUVVDOJTKSJHYN/

Mageia 8 and 9 are also affected.
Nicolas Salguero 2023-11-14 16:16:19 CET

CC: (none) => nicolas.salguero
Source RPM: (none) => radare2-5.8.8-1.mga9.src.rpm
Whiteboard: (none) => MGA9TOO, MGA8TOO

Nicolas Salguero 2023-11-14 16:16:32 CET

Status comment: (none) => Patches available from Fedora

Comment 1 Marja Van Waes 2023-11-14 16:24:42 CET
Assigning to our registered radare2 maintainer

CC: (none) => marja11
Assignee: bugsquad => geiger.david68210

Comment 2 David GEIGER 2024-02-03 19:00:25 CET
Fixed both mga9 and Cauldron!


Assigning to QA,

Packages in 9/Core/Updates_testing:
======================
lib64radare2-devel-5.8.8-1.1.mga9
lib64radare2_5.8.8-5.8.8-1.1.mga9
libradare2-devel-5.8.8-1.1.mga9
libradare2_5.8.8-5.8.8-1.1.mga9
radare2-5.8.8-1.1.mga9

From SRPMS:
radare2-5.8.8-1.1.mga9.src.rpm

Version: Cauldron => 9
Whiteboard: MGA9TOO, MGA8TOO => (none)
Assignee: geiger.david68210 => qa-bugs

Marja Van Waes 2024-02-03 21:24:24 CET

URL: (none) => https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/64KUV6OGEVQ75QOV35PUVVDOJTKSJHYN/
CVE: (none) => CVE-2023-4322 CVE-2023-5686

Marja Van Waes 2024-02-03 21:27:07 CET

Keywords: (none) => advisory

Comment 3 Marja Van Waes 2024-02-03 21:45:26 CET
I uploaded this advisory with a wrong commit message:
   
   Add bugfix advisory M9 mga#32521

After correcting it with propedit, like this

[marja@localhost advisories]$ svn propedit --revprop svn:log -r 15616
Set new value for property 'svn:log' on revision 15616
[marja@localhost advisories]$

it is what it should be here:

[marja@localhost advisories]$ svn log | head
------------------------------------------------------------------------
r15616 | marja | 2024-02-03 21:26:55 +0100 (za, 03 feb 2024) | 2 lines

Add security advisory M9 radare mga#32521


But I never see such corrections in svnweb:
https://svnweb.mageia.org/advisories?view=revision

Should I delete and re-add the advisory?
Comment 4 David Walser 2024-02-03 22:55:28 CET
No.  Subversion has the correct commit message.  Svnweb will never update.  Don't worry about that.
Comment 5 Marja Van Waes 2024-02-03 23:31:35 CET
Thanks, David :-)
Comment 6 Herman Viaene 2024-02-19 16:19:08 CET
Copied rpm names from Comment 2  into QARepo and get
libradare2-devel-5.8.8-1.1.mga9 not found in the remote repository
libradare2_5.8.8-5.8.8-1.1.mga9 not found in the remote repository
I suppose those are the 32-bit versions, continuing without those.

CC: (none) => herman.viaene

Comment 7 Herman Viaene 2024-02-19 16:37:52 CET
MGA9-64 Plasma  Wayland on HP Pavillion
No installation issues.
Followed bug 29163 for testing using the firefox.exe I got from my Win 11 installation.

$ rabin2 -I  firefox.exe 
arch     x86
baddr    0x140000000
binsz    671136
bintype  pe
bits     64
canary   true
retguard false
class    PE32+
cmp.csum 0x000b2b25
compiled Mon Feb  5 15:47:45 2024
crypto   false
dbg_file firefox.pdb
endian   little
havecode true
hdr.csum 0x000b2b25
guid     64ECC926E3639C014C4C44205044422E1
laddr    0x0
lang     msvc
linenum  false
lsyms    false
machine  AMD 64
nx       true
os       windows
overlay  true
cc       ms
pic      true
relocs   false
signed   true
sanitize false
static   false
stripped false
subsys   Windows GUI
va       true
[tester9@mach4 Documents]$ rax2 0011000011111111d
12543
[tester9@mach4 Documents]$ rasm2 ret
c3

$ radare2 firefox.exe 
[0x14002ba70]> aa
INFO: Analyze all flags starting with sym. and entry0 (aa)
INFO: Analyze all functions arguments/locals (afva@@@F)
[0x14002ba70]> s/ fire
Searching 4 bytes in [0x1400ab600-0x1400ac000]
hits: 0
Searching 4 bytes in [0x1400ab000-0x1400ab600]
hits: 0
and some more, ending with
[# ]0x14005504d hit0_0 .itigationPolicyfirefoxFirefoxNtOp.
[0x14005504d]> quit
This all looks OKas far as I understand it.

Whiteboard: (none) => MGA9-64-OK

Comment 8 Thomas Andrews 2024-02-19 17:35:41 CET
MID-air collision!

MGA9-64 Plasma in VirtualBox. 

Radare2 is a tool for reverse-engineering binaries. Before attempting any testing this time, I consulted the Web for some guidance. I found several Youtube videos on the subject, including a tutorial series with at least 8 parts. Clearly, any testing beyond a few basics is beyond the scope of QA.

I installed all 64-bit packages and dependencies, with no issues. I also installed the radare2-cutter GUI and its dependencies. Not technically a part of this update, but useful for testing. After using qarepo to update the packages, I referred to bug 29163 comment 18 for tests:

[tom@localhost ~]$ rafind2 -s "text" /bin/kwrite | wc -l
1
[tom@localhost ~]$ r2 -a x86 /bin/oowriter
[0x00000000]> 

The "V" command produced a lengthy hexadecimal dump that was completely incomprehensible to me, but was consistent with the previous bug's test. "q" brought back the above prompt.

"p" was a command I saw in an introductory video, and it produced a very different sort of dump, still incomprehensible to someone whose fading coding skills are some 35 years old, but consistent with what I saw in the video.

I ran the Cutter gui, and loaded /bin/oowriter into it, and opened it. I told it to analyze the file using the "experimental" tab, which it did, producing more incomprehensible output - but nothing that looked like it wasn't working.

Between the two of us, Herman, I think we've got it. Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 9 Mageia Robot 2024-02-19 19:17:14 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2024-0044.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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