Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
expat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
staging
rpms
expat
Commits
1a8b8d0b
Commit
1a8b8d0b
authored
1 year ago
by
Rocky Automation
Browse files
Options
Downloads
Patches
Plain Diff
import expat-2.2.5-11.el8_9.1
parent
9d480573
No related branches found
Branches containing commit
Tags
imports/r8/expat-2.2.5-11.el8_9.1
Tags containing commit
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.expat.checksum
+1
-0
1 addition, 0 deletions
.expat.checksum
.expat.metadata
+1
-1
1 addition, 1 deletion
.expat.metadata
SOURCES/expat-2.2.5-CVE-2023-52425.patch
+1440
-0
1440 additions, 0 deletions
SOURCES/expat-2.2.5-CVE-2023-52425.patch
SPECS/expat.spec
+18
-1
18 additions, 1 deletion
SPECS/expat.spec
with
1460 additions
and
2 deletions
.expat.checksum
0 → 100644
+
1
−
0
View file @
1a8b8d0b
662aaa0e5e169e24f6b27e7bd79c608d8f663f104aad8fc00dc9e19573789b30
This diff is collapsed.
Click to expand it.
.expat.metadata
+
1
−
1
View file @
1a8b8d0b
fa46ccce6770ccae767c28f6ac55e2428089d4a0
SOURCES/expat-2.2.5.tar.gz
b3781742738611eaa737543ee94264dd511c52a3ba7e53111f7d705f6bff65a8
SOURCES/expat-2.2.5.tar.gz
This diff is collapsed.
Click to expand it.
SOURCES/expat-2.2.5-CVE-2023-52425.patch
0 → 100644
+
1440
−
0
View file @
1a8b8d0b
This diff is collapsed.
Click to expand it.
SPECS/expat.spec
+
18
−
1
View file @
1a8b8d0b
...
...
@@ -3,7 +3,7 @@
Summary: An XML parser library
Name: expat
Version: %(echo %{unversion} | sed 's/_/./g')
Release: 11%{?dist}
Release: 11%{?dist}
.1
Source: https://github.com/libexpat/libexpat/archive/R_%{unversion}.tar.gz#/expat-%{version}.tar.gz
URL: https://libexpat.github.io/
License: MIT
...
...
@@ -22,6 +22,7 @@ Patch10: expat-2.2.5-Prevent-integer-overflow-in-copyString.patch
Patch11: expat-2.2.5-Prevent-stack-exhaustion-in-build_model.patch
Patch12: expat-2.2.5-Ensure-raw-tagnames-are-safe-exiting-internalEntityParser.patch
Patch13: expat-2.2.5-CVE-2022-43680.patch
Patch14: expat-2.2.5-CVE-2023-52425.patch
%description
This is expat, the C library for parsing XML, written by James Clark. Expat
...
...
@@ -63,6 +64,9 @@ Install it if you need to link statically with expat.
%patch11 -p1 -b .CVE-2022-25313
%patch12 -p1 -b .CVE-2022-40674
%patch13 -p1 -b .CVE-2022-43680
pushd ..
%patch14 -p1 -b .CVE-2023-52425
popd
sed -i 's/install-data-hook/do-nothing-please/' lib/Makefile.am
./buildconf.sh
...
...
@@ -79,6 +83,15 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%check
bash -c "for i in {1..500000}; do printf AAAAAAAAAAAAAAAAAAAA >> achars.txt; done"
for testfile in ../testdata/largefiles/aaaaaa_*; do
first_part="$(sed 's/\(.*\)ACHARS.*/\1/g' $testfile)"
second_part="$(sed 's/.*ACHARS\(.*\)/\1/g' $testfile)"
printf "$first_part" > "$testfile"
cat achars.txt >> "$testfile"
printf "$second_part" >> "$testfile"
done
make check
%ldconfig_scriptlets
...
...
@@ -101,6 +114,10 @@ make check
%{_libdir}/lib*.a
%changelog
* Mon Mar 25 2024 Tomas Korbar <tkorbar@redhat.com> - 2.2.5-11.1
- CVE-2023-52425 expat: parsing large tokens can trigger a denial of service
- Resolves: RHEL-29320
* Mon Nov 14 2022 Tomas Korbar <tkorbar@redhat.com> - 2.2.5-11
- CVE-2022-43680 expat: use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate
- Resolves: CVE-2022-43680
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment