This is an automated email from the ASF dual-hosted git repository.

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e62f949 Document attribute-rendering crash classification
8e62f949 is described below

commit 8e62f9498438b9f09d72d89257ec105566b06b0c
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Nov 20 12:25:00 2026 -0500

    Document attribute-rendering crash classification
    
    Classify the Class2HTML and Attribute.toString() exceptions addressed
    in 6.14.1 as non-security robustness bugs under BCEL's security model.
    
    Clarify that unknown attributes can be valid class-file extensions.
    Distinguish these crashes from HTML injection and other security
    impacts, and link the component guidance from SECURITY.md.
    
    Assisted-By: OpenAI Codex
---
 SECURITY.md                   |  3 +++
 src/changes/changes.xml       |  1 +
 src/site/markdown/security.md | 17 +++++++++++++++++
 3 files changed, 21 insertions(+)

diff --git a/SECURITY.md b/SECURITY.md
index 744d4cdd..dda019a9 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -15,3 +15,6 @@
  limitations under the License.
 -->
 The Apache Commons security page is 
[https://commons.apache.org/security.html](https://commons.apache.org/security.html).
+
+For BCEL's security model and the classification of attribute-rendering 
exceptions, see the
+[component security 
documentation](src/site/markdown/security.md#security-model).
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index cd0f818e..ea0bffdb 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -70,6 +70,7 @@ The <action> type attribute can be add,update,fix,remove.
       <!-- ADD -->
       <!-- UPDATE -->
       <action                  type="update" dev="ggregory" due-to="Gary 
Gregory">Bump org.apache.commons:commons-lang3 from 3.21.0 to 3.22.0.</action>
+      <action                  type="update" dev="ggregory" due-to="Gary 
Gregory">Document Class2HTML and Attribute.toString() attribute-rendering 
exceptions as non-security robustness bugs.</action>
     </release>
     <release version="6.14.0" date="2026-11-07" description="This is a feature 
and maintenance release. Java 8 or later is required.">
       <!-- FIX -->
diff --git a/src/site/markdown/security.md b/src/site/markdown/security.md
index 9e779b52..f1302ad8 100644
--- a/src/site/markdown/security.md
+++ b/src/site/markdown/security.md
@@ -35,6 +35,23 @@ If you have encountered an unlisted security vulnerability 
or other unexpected b
 
 The [Apache Commons security 
model](https://commons.apache.org/security.html#Security_Model) specifies that 
it is unsafe to pass possibly malicious input to Commons libraries unless 
otherwise specified. For Commons BCEL, processing untrusted class data is 
supported to the extent that this should never allow the supplier of the data 
to trigger arbitrary code execution, filesystem or network access. It may still 
trigger other crashes, such as `StackOverflowError` or `OutOfMemoryError`: if  
[...]
 
+### Attribute-rendering exceptions
+
+The [changes for 6.14.1](changes.html#a6.14.1) address two attribute-rendering 
failures:
+
+- `Class2HTML` could throw `ArrayIndexOutOfBoundsException` when rendering an 
unknown attribute nested in a method's `Code` attribute.
+- `Attribute.toString()` could throw the same exception when a custom 
attribute subclass inherited that method with an unrecognized attribute tag.
+
+Unknown attributes can be valid class-file extensions, as described in the
+[Java Virtual Machine 
Specification](https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.1).
+Their presence alone does not make a class file malformed.
+
+Under the BCEL security model above, these exceptions are non-security 
robustness bugs. The fixes for the exceptions in 6.14.1 do not warrant a 
separate CVE.
+Applications processing untrusted class data remain responsible for handling 
processing failures.
+
+This classification applies to the exceptions themselves. HTML injection in 
generated reports and unintended code execution, filesystem access, or network 
access
+must be assessed separately under the security model and reported privately 
through the [Apache Commons security 
process](https://commons.apache.org/security.html).
+
 ## Security Vulnerabilities Fixed in 6.13.0
 
 ### CVE-2026-105111

Reply via email to