diff --git a/0002-resolve-cve-2023-32697.patch b/0002-resolve-cve-2023-32697.patch
new file mode 100644
index 0000000..fc4ec68
--- /dev/null
+++ b/0002-resolve-cve-2023-32697.patch
@@ -0,0 +1,17 @@
+Index: pom.xml
+IDEA additional info:
+Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
+<+>UTF-8
+===================================================================
+diff --git a/pom.xml b/pom.xml
+--- a/pom.xml (revision c7cbce922f07ac80a08f58eb04786e2e91fc52b2)
++++ b/pom.xml (date 1692695814239)
+@@ -149,7 +149,7 @@
+ 2.10.5
+ 2.5.0
+ 5.1.0
+- 3.8.11.2
++ 3.42.0.0
+ 8.0.11
+ 42.4.1
+ 0.3.2
diff --git a/pulsar.spec b/pulsar.spec
index b572970..f404325 100644
--- a/pulsar.spec
+++ b/pulsar.spec
@@ -11,6 +11,7 @@ Group: Applications/Message
URL: https://pulsar.apache.org
Source0: https://archive.apache.org/dist/pulsar/pulsar-2.10.4/apache-pulsar-2.10.4-src.tar.gz
Patch0001: 0001-use-huawei-repository.patch
+Patch0002: 0002-resolve-cve-2023-32697.patch
BuildRoot: /root/rpmbuild/BUILDROOT/
BuildRequires: java-1.8.0-openjdk-devel,maven,systemd
Requires: java-1.8.0-openjdk,systemd
@@ -24,6 +25,7 @@ Pulsar is a distributed pub-sub messaging platform with a very flexible messagin
%setup -q -n apache-pulsar-%{version}-src
%patch0001 -p1
+%patch0002 -p1
%build
mvn clean install -Pcore-modules,-main -DskipTests