Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Apollo 2.5.0
* [Feature: Added a new feature to get instance count by namespace.](https://github.com/apolloconfig/apollo/pull/5381)
* [Bugfix: Remove cluster-related roles and permissions upon deletion](https://github.com/apolloconfig/apollo/pull/5395)
* [Security: Prevent unauthorized access to other users' apps in /apps/by-owner endpoint](https://github.com/apolloconfig/apollo/pull/5396)

* [Fix: Bump h2database and snakeyaml version](https://github.com/apolloconfig/apollo/pull/5406)
------------------
All issues and pull requests are [here](https://github.com/apolloconfig/apollo/milestone/16?closed=1)
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ private static class TypeLimitedYamlPropertiesFactoryBean extends YamlProperties
protected Yaml createYaml() {
LoaderOptions loaderOptions = new LoaderOptions();
loaderOptions.setAllowDuplicateKeys(false);
return new Yaml(new SafeConstructor(), new Representer(),
new DumperOptions(), loaderOptions);
DumperOptions dumperOptions = new DumperOptions();
return new Yaml(new SafeConstructor(loaderOptions), new Representer(dumperOptions), dumperOptions, loaderOptions);
}
}

Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@
<javax.mail.version>1.6.2</javax.mail.version>
<jaxb.version>2.3.1</jaxb.version>
<junit.version>5.9.2</junit.version>
<h2database.version>2.2.220</h2database.version>
<nacos-discovery-api.version>1.4.0</nacos-discovery-api.version>
<snakeyaml.version>2.3</snakeyaml.version>
<!-- database driver -->
<mysql-connector-j.version>8.2.0</mysql-connector-j.version>
<postgre.version>42.7.2</postgre.version>
Expand Down Expand Up @@ -200,6 +202,18 @@
<artifactId>commons-lang3</artifactId>
<version>${common-lang3.version}</version>
</dependency>
<!-- to fix CVE-2022-45868 -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2database.version}</version>
</dependency>
<!-- to fix CVE-2022-1471 -->
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
</dependency>
<!-- to fix CVE-2024-47072 -->
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
Expand Down