Bug 33630 - mozjs78 new security issues CVE-2024-4549[0-2]
Summary: mozjs78 new security issues CVE-2024-4549[0-2]
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:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-10-11 09:10 CEST by Nicolas Salguero
Modified: 2024-10-28 17:50 CET (History)
5 users (show)

See Also:
Source RPM: mozjs78-78.15.0-7.mga9.src.rpm
CVE: CVE-2024-45490, CVE-2024-45491, CVE-2024-45492
Status comment:


Attachments

Description Nicolas Salguero 2024-10-11 09:10:08 CEST
openSUSE has issued an advisory on October 9:
https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/NII5WWMANSN5NYNMNOK7LJ2P5FT7TW5X/
Nicolas Salguero 2024-10-11 09:11:03 CEST

CVE: (none) => CVE-2024-45490, CVE-2024-45491, CVE-2024-45492
Source RPM: (none) => mozjs78-78.15.0-8.mga10.src.rpm
Status comment: (none) => Patches available from openSUSE
Whiteboard: (none) => MGA9TOO

Comment 1 Lewis Smith 2024-10-11 20:24:12 CEST
"Patches available from openSUSE"
I could not find them...

No evident packager for this, so assigning it globally.

Assignee: bugsquad => pkg-bugs

Comment 2 Nicolas Salguero 2024-10-23 16:32:53 CEST
For Cauldron, mozjs78 cannot build because it does not support python 3.12.
Comment 3 Nicolas Salguero 2024-10-23 16:33:29 CEST
Anyway I committed the patches into SVN also for Cauldron.
Comment 4 Nicolas Salguero 2024-10-23 16:55:06 CEST
Suggested advisory:
========================

The updated packages fix security vulnerabilities:

An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer. (CVE-2024-45490)

An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX). (CVE-2024-45491)

An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for m_groupSize on 32-bit platforms (where UINT_MAX equals SIZE_MAX). (CVE-2024-45492)

References:
https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/NII5WWMANSN5NYNMNOK7LJ2P5FT7TW5X/
========================

Updated packages in core/updates_testing:
========================
lib(64)mozjs78-78.15.0-7.1.mga9
lib(64)mozjs78-devel-78.15.0-7.1.mga9

from SRPM:
mozjs78-78.15.0-7.1.mga9.src.rpm

Assignee: pkg-bugs => qa-bugs
Source RPM: mozjs78-78.15.0-8.mga10.src.rpm => mozjs78-78.15.0-7.mga9.src.rpm
Whiteboard: MGA9TOO => (none)
Status comment: Patches available from openSUSE => (none)
Status: NEW => ASSIGNED
Version: Cauldron => 9

katnatek 2024-10-23 20:00:39 CEST

Keywords: (none) => advisory

Comment 5 Herman Viaene 2024-10-25 16:50:56 CEST
MGA9-64 MATE on HP-Pavillion
No installation issues
No previous updates, very little info in google, so tried
# urpmq --whatrequires lib64mozjs78
couchdb
lib64cjs0
lib64mozjs78
lib64mozjs78-devel
not much help, so one step further
# urpmq --whatrequires-recursive lib64mozjs78
cinnamon
cinnamon-devel-doc
cjs
couchdb
lib64cjs-devel
lib64cjs-gir1.0
lib64cjs0
lib64mozjs78
lib64mozjs78-devel
nemo-preview
task-cinnamon
task-cinnamon-devel
task-cinnamon-minimal

cjs is also related to cinnamon, but I don't feel like installing that desktop (yet?)
Installed couchdb,  but run into problems there
$ couchdb 
cat: /usr/bin/../releases/start_erl.data: No such file or directory
/usr/bin/couchdb: line 49: /usr/bin/../erts-/bin/erlexec: No such file or directory
looks like a dependency problem???

CC: (none) => herman.viaene

Comment 6 Herman Viaene 2024-10-26 11:19:07 CEST
Took a deap breath and installed task-cinnamon and it dependencies. Logged in again to cinnamon and it seemed to work OK as far as I muddled around in its settings.
Got out as quickly as I could since this seemed quite a  different beast than the Linux Mint Cinnamon I ran in a VM a couple of years ago.
If this is considered a conclusive test, plse go ahead abd OK it, you have my blessing.
katnatek 2024-10-26 19:38:22 CEST

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

Comment 7 Thomas Andrews 2024-10-27 01:04:43 CEST
Thank you, Herman.

Validating.

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

Comment 8 Dan Fandrich 2024-10-27 03:05:53 CET
It should not be embedding its own copy of expat, which we have in a separate package. Is it a standard version or is it customized?

CC: (none) => dan

Comment 9 Mageia Robot 2024-10-27 03:37:59 CET
An update for this issue has been pushed to the Mageia Updates repository.

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

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

Comment 10 David Walser 2024-10-27 13:03:12 CET
(In reply to Dan Fandrich from comment #8)
> It should not be embedding its own copy of expat, which we have in a
> separate package. Is it a standard version or is it customized?

Indeed, please file a bug for this.
Comment 11 David GEIGER 2024-10-27 13:45:38 CET
On Cauldron we can remove mozjs78 and couchdb which is the only one who needs it.

CC: (none) => geiger.david68210

Comment 12 David Walser 2024-10-27 20:02:24 CET
Yes, it should be removed.
Comment 13 Dan Fandrich 2024-10-28 17:50:47 CET
I've opened bug 33691 on the embedded expat issue.

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