Bug 33126 - editorconfig-core-c 0.12.7
Summary: editorconfig-core-c 0.12.7
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-04-22 11:02 CEST by Nicolas Salguero
Modified: 2024-04-26 08:47 CEST (History)
3 users (show)

See Also:
Source RPM: editorconfig-core-c-0.12.6-1.mga9.src.rpm
CVE:
Status comment: Fixed upstream in 0.12.7


Attachments

Comment 1 Nicolas Salguero 2024-04-22 11:03:26 CEST
Version 0.12.7 fixes a pointer overflow in STRING_CAT and a few more stack
buffer overflows.

Status comment: (none) => Fixed upstream in 0.12.7
Source RPM: (none) => editorconfig-core-c-0.12.6-1.mga9.src.rpm

Comment 2 Lewis Smith 2024-04-22 21:30:03 CEST
Another one where Cauldron already has the fixed version 0.12.7.
Also another where DavidG put that up, so assigning to you for Mageia 9.

Assignee: bugsquad => geiger.david68210

Comment 3 David GEIGER 2024-04-23 16:12:07 CEST
Assigning to QA,

Packages in 9/Core/Updates_testing:
======================
editorconfig-0.12.7-1.mga9
libeditorconfig-devel-0.12.7-1.mga9
libeditorconfig0-0.12.7-1.mga9
lib64editorconfig-devel-0.12.7-1.mga9
lib64editorconfig0-0.12.7-1.mga9


From SRPMS:
editorconfig-core-c-0.12.7-1.mga9.src.rpm

Assignee: geiger.david68210 => qa-bugs

katnatek 2024-04-24 04:13:40 CEST

Keywords: (none) => advisory

Comment 4 katnatek 2024-04-24 21:35:05 CEST
RH mageia 9 x86_64 

LC_ALL=C urpmi --auto --auto-update 
medium "QA Testing (32-bit)" is up-to-date
medium "QA Testing (64-bit)" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
medium "Core 32bit Release (distrib31)" is up-to-date
medium "Core 32bit Updates (distrib32)" is up-to-date
medium "Nonfree 32bit Release (distrib36)" is up-to-date
medium "Tainted 32bit Release (distrib41)" is up-to-date
medium "Tainted 32bit Updates (distrib42)" is up-to-date


installing lib64editorconfig0-0.12.7-1.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/1: lib64editorconfig0    ##################################################################################################
      1/1: removing lib64editorconfig0-0.12.6-1.mga9.x86_64
                                 ##################################################################################################

Reference bug#31516

strace -o output.txt kwrite

make manipulation of text file, close the application

openat(AT_FDCWD, "/lib64/libeditorconfig.so.0", O_RDONLY|O_CLOEXEC) = 3
Comment 5 katnatek 2024-04-24 21:37:56 CEST
RH mageia 9 x86_64

LC_ALL=C urpmi editorconfig 


installing editorconfig-0.12.7-1.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/1: editorconfig          ##################################################################################################

editorconfig
EditorConfig C Core Version 0.12.7
Usage: editorconfig [OPTIONS] FILEPATH1 [FILEPATH2 FILEPATH3 ...]
FILEPATH can be a hyphen (-) if you want to path(s) to be read from stdin.

-f                 Specify conf filename other than ".editorconfig".
-b                 Specify version (used by devs to test compatibility).
-h OR --help       Print this help message.
-v OR --version    Display version information.

LC_ALL=C urpme editorconfig 
removing editorconfig-0.12.7-1.mga9.x86_64
removing package editorconfig-0.12.7-1.mga9.x86_64
      1/1: removing editorconfig-0.12.7-1.mga9.x86_64
                                 ##################################################################################################

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

Comment 6 Thomas Andrews 2024-04-25 13:22:26 CEST
Validating.

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

Comment 7 Dan Fandrich 2024-04-25 20:22:02 CEST
This was pushed to updates while Bugzilla was down.
https://advisories.mageia.org/MGASA-2024-0145.html

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

Comment 8 Mageia Robot 2024-04-26 08:47:57 CEST
An update for this issue has been pushed to the Mageia Updates repository.

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

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