Fix potential vulnerabilities in cloned code #300

Closed
manh-td wants to merge 9 commits from manh-td/kolibrios:the-rest into main
Contributor

This PR combines all unmerged PRs and fixes a potential security vulnerability inherited from FFmpeg/FFmpeg that lacked a security patch.

Vulnerability Details:

#297

#296

#295

#294

#293

Please review and merge this PR to ensure your repository is protected against this vulnerability.

This PR combines all unmerged PRs and fixes a potential security vulnerability inherited from `FFmpeg/FFmpeg` that lacked a security patch. **Vulnerability Details:** https://git.kolibrios.org/KolibriOS/kolibrios/pulls/297 * [Orignal Fix](https://github.com/FFmpeg/FFmpeg/commit/2b46ebdbff1d8dec7a3d8ea280a612b91a582869) * [CVE-2018-1999011](https://nvd.nist.gov/vuln/detail/CVE-2018-1999011) https://git.kolibrios.org/KolibriOS/kolibrios/pulls/296 * [Original Fix](https://github.com/FFmpeg/FFmpeg/commit/8c2ea3030af7b40a3c4275696fb5c76cdb80950a) * [CVE-2017-7862](https://nvd.nist.gov/vuln/detail/CVE-2017-7862) https://git.kolibrios.org/KolibriOS/kolibrios/pulls/295 * [Original Fix](https://github.com/FFmpeg/FFmpeg/commit/4f05e2e2dc1a89f38cd9f0960a6561083d714f1e) * [CVE-2017-14055](https://nvd.nist.gov/vuln/detail/CVE-2017-14055) https://git.kolibrios.org/KolibriOS/kolibrios/pulls/294 * [Original Fix](https://github.com/FFmpeg/FFmpeg/commit/6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10) * [CVE-2018-1582](https://nvd.nist.gov/vuln/detail/CVE-2018-15822) https://git.kolibrios.org/KolibriOS/kolibrios/pulls/293 * [Original Fix](https://github.com/FFmpeg/FFmpeg/commit/1e42736b95065c69a7481d0cf55247024f54b660) * [CVE-2020-12652](https://nvd.nist.gov/vuln/detail/CVE-2020-12652) Please review and merge this PR to ensure your repository is protected against this vulnerability.
manh-td added 9 commits 2025-12-22 04:34:42 +00:00
Check format for BGR24
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 2m25s
Build system / Build (pull_request) Successful in 16m34s
cb1d476932
Check audio packet size
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 2m25s
Build system / Build (pull_request) Successful in 19m26s
2727f1a5bd
Fix DoS due to lack of eof check
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 2m22s
Build system / Build (pull_request) Successful in 36m9s
f1b4023d99
Fix logic error
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 2m12s
Build system / Build (pull_request) Successful in 35m32s
e128a90e62
Check size_bmp more fully
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 3m8s
Build system / Build (pull_request) Successful in 31m48s
ca6b0f142c
Merge branch 'cdxl_decode_frame' into the-rest
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 2m24s
Build system / Build (pull_request) Successful in 16m46s
e70aa31c2d
Owner

Hello!
Are you sure all these fixes are compatible with current version of ffmpeg, present in KolibriOS.
And are you going to add some more fixes in future?
Looks like it will be better to directly port latest compatible version of ffmpeg (should be 2.8.22), and fully close this topic.

Hello! Are you sure all these fixes are compatible with current version of **ffmpeg**, present in **KolibriOS**. And are you going to add some more fixes in future? Looks like it will be better to directly port latest compatible version of **ffmpeg** (should be **2.8.22**), and fully close this topic.
Sweetbread requested changes 2025-12-23 08:52:30 +00:00
Sweetbread left a comment
Owner

Merge commits are prohibited

Merge commits are [prohibited](https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main/CONTRIBUTING.md#merge-commits)
Owner

All these security fixes make no sense for such a toy OS as KolbiriOS. By updating the ports of these libraries, all of these "security issues" will be resolved.

All these security fixes make no sense for such a toy OS as KolbiriOS. By updating the ports of these libraries, all of these "security issues" will be resolved.
mxlgv closed this pull request 2026-01-07 01:27:47 +00:00
mxlgv added the
Reviewed
Won't Fix
label 2026-01-07 01:28:37 +00:00
mxlgv removed the
Reviewed
Won't Fix
label 2026-01-07 01:31:49 +00:00
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 2m24s
Required
Details
Build system / Build (pull_request) Successful in 16m46s
Required
Details

Pull request closed

Sign in to join this conversation.
No Reviewers
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#300