Skip to content

Commit d8d4ae1

Browse files
committed
[site] Add security page section for CVE-2022-42920
Fixed back in 6.6.0 (2022-10-08)
1 parent 068ac7e commit d8d4ae1

1 file changed

Lines changed: 34 additions & 26 deletions

File tree

src/site/xdoc/security.xml

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
<?xml version="1.0"?>
2-
<!--
3-
Licensed to the Apache Software Foundation (ASF) under one
4-
or more contributor license agreements. See the NOTICE file
5-
distributed with this work for additional information
6-
regarding copyright ownership. The ASF licenses this file
7-
to you under the Apache License, Version 2.0 (the
8-
"License"); you may not use this file except in compliance
9-
with the License. You may obtain a copy of the License at
10-
11-
https://www.apache.org/licenses/LICENSE-2.0
12-
13-
Unless required by applicable law or agreed to in writing,
14-
software distributed under the License is distributed on an
15-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16-
KIND, either express or implied. See the License for the
17-
specific language governing permissions and limitations
18-
under the License.
19-
-->
20-
<document xmlns="http://maven.apache.org/XDOC/2.0"
21-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional
3+
information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except
4+
in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to
5+
in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
6+
the License for the specific language governing permissions and limitations under the License. -->
7+
<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
228
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
239
<properties>
2410
<title>Apache Commons Security Reports</title>
@@ -28,24 +14,46 @@
2814
<section name="About Security">
2915
<p>
3016
For information about reporting or asking questions about security, please see
31-
<a href="https://commons.apache.org/security.html">Apache Commons Security</a>.
17+
<a href="https://commons.apache.org/security.html">Apache Commons Security</a>
18+
.
3219
</p>
33-
<p>This page lists all security vulnerabilities fixed in released versions of this component.
20+
<p>This page lists all security vulnerabilities fixed in released versions of this component.
3421
</p>
3522
<p>Please note that binary patches are never provided. If you need to apply a source code patch, use the building instructions for the component version
36-
that you are using.
23+
that you are using.
3724
</p>
3825
<p>
3926
If you need help on building this component or other help on following the instructions to mitigate the known vulnerabilities listed here, please send
4027
your questions to the public
41-
<a href="mail-lists.html">user mailing list</a>.
28+
<a href="mail-lists.html">user mailing list</a>
29+
.
4230
</p>
4331
<p>If you have encountered an unlisted security vulnerability or other unexpected behavior that has security impact, or if the descriptions here are
44-
incomplete, please report them privately to the Apache Security Team. Thank you.
32+
incomplete, please report them privately to the Apache Security Team. Thank you.
4533
</p>
4634
</section>
4735
<section name="Security Vulnerabilities">
48-
<p>None.</p>
36+
<subsection name="CVE-2022-42920">
37+
<ul>
38+
<li>CVE-2022-42920: Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing.</li>
39+
<li>Severity: Critical</li>
40+
<li>CWE-ID: CWE-787</li>
41+
<li>Vendor: The Apache Software Foundation</li>
42+
<li>Versions Affected: Apache Commons BCEL before 6.6.0.</li>
43+
<li>Description: Apache Commons BCEL has a number of APIs that would normally only allow changing specific class characteristics. However, due to an
44+
out-of-bounds writing issue, these APIs can be used to produce arbitrary bytecode. This could be abused in applications that pass
45+
attacker-controllable data to those APIs, giving the attacker more control over the resulting bytecode than otherwise expected. Update to Apache
46+
Commons BCEL 6.6.0.
47+
</li>
48+
<li>Mitigation: Users are recommended to upgrade to version 6.6.0 or later, which fixes the issue.</li>
49+
<li>Credit: Reported by Felix Wilhelm (Google)</li>
50+
<li>Credit: GitHub pull request to Apache Commons BCEL #147 by Richard Atkins (https://github.com/rjatkins)</li>
51+
<li>Credit: PR
52+
derived from OpenJDK (https://github.com/openjdk/jdk11u/) commit 13bf52c8d876528a43be7cb77a1f452d29a21492 by Aleksei Voitylov and
53+
RealCLanger (Christoph Langer https://github.com/RealCLanger)
54+
</li>
55+
</ul>
56+
</subsection>
4957
</section>
5058
</body>
5159
</document>

0 commit comments

Comments
 (0)