You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2026/02/13 21:12:04 UTC
[PR] Bump org.apache.avro:avro from 1.11.3 to 1.11.5 in /seatunnel-connectors-v2/connector-cdc/connector-cdc-mongodb [seatunnel]
dependabot[bot] opened a new pull request, #10493:
URL: https://github.com/apache/seatunnel/pull/10493
Bumps org.apache.avro:avro from 1.11.3 to 1.11.5.
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/seatunnel/network/alerts).
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump org.apache.avro:avro from 1.11.3 to 1.11.5 in /seatunnel-connectors-v2/connector-cdc/connector-cdc-mongodb [seatunnel]
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #10493:
URL: https://github.com/apache/seatunnel/pull/10493#issuecomment-3900150158
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump org.apache.avro:avro from 1.11.3 to 1.11.5 in /seatunnel-connectors-v2/connector-cdc/connector-cdc-mongodb [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo closed pull request #10493: Bump org.apache.avro:avro from 1.11.3 to 1.11.5 in /seatunnel-connectors-v2/connector-cdc/connector-cdc-mongodb
URL: https://github.com/apache/seatunnel/pull/10493
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Bump org.apache.avro:avro from 1.11.3 to 1.11.5 in /seatunnel-connectors-v2/connector-cdc/connector-cdc-mongodb [seatunnel]
Posted by "DanielCarter-stack (via GitHub)" <gi...@apache.org>.
DanielCarter-stack commented on PR #10493:
URL: https://github.com/apache/seatunnel/pull/10493#issuecomment-3899796746
<!-- code-pr-reviewer -->
<!-- cpr:pr_reply_v2_parts {"group": "apache/seatunnel#10493", "part": 1, "total": 1} -->
### Issue 1: Version inconsistency causes potential class loading conflicts
**Location**: `seatunnel-connectors-v2/connector-cdc/connector-cdc-mongodb/pom.xml:33`
**Related context**:
- Root pom.xml: `<avro.version>1.11.1</avro.version>`
- connector-iceberg/pom.xml: `<avro.version>1.11.3</avro.version>`
- connector-cdc-mongodb/pom.xml: `<avro.version>1.11.5</avro.version>` (This change)
**Problem description**:
There are multiple different versions of Avro within the project. If users use the following in the same SeaTunnel task:
- MongoDB CDC Connector (uses Avro 1.11.5)
- Iceberg Connector (uses Avro 1.11.3)
- Format-Avro (uses Avro 1.11.1)
In cases where classloader isolation is not perfect, the following may occur:
- ClassNotFoundException
- NoSuchMethodError
- Inconsistent behavior
**Potential risks**:
- **Risk 1**: Multiple Avro versions coexisting may cause class loading conflicts
- **Risk 2**: Different behavior depending on class loading order, making debugging difficult
- **Risk 3**: Uncertainty in production environments
**Scope of impact**:
- **Direct impact**: Users using multiple Connectors simultaneously
- **Indirect impact**: Consistency of SeaTunnel dependency management
- **Impact surface**: Multiple Connectors / core dependency management
**Severity**: **Medium**
**Improvement suggestions**:
It is recommended to create a tracking Issue to unify all modules' Avro version to 1.11.5:
1. Upgrade `avro.version` in root pom.xml to 1.11.5
2. Remove duplicate `avro.version` property definitions in each sub-module
3. Ensure all modules use a unified Avro version
**Reasoning**:
- This is not a problem introduced by this PR, but this PR exacerbates the version inconsistency
- Unified version management is a best practice for Maven projects
- Reduces class loading issues users encounter in production environments
---
### Issue 2: Missing security testing for CVE-2024-47561
**Location**: `seatunnel-connectors-v2/connector-cdc/connector-cdc-mongodb/src/test/`
**Related context**:
- `MongodbRecordUtils.java:143` - Avro schema parsing call site
- `MongodbRecordUtils.java:151` - Another Avro schema parsing call site
**Problem description**:
The current test suite lacks verification of Avro schema parsing security. The attack vector for CVE-2024-47561 is maliciously crafted Avro schemas, but existing tests do not verify:
- Malicious schemas are properly rejected
- Malicious data does not lead to code execution
- Exception handling mechanisms can catch and report exceptions
**Potential risks**:
- **Risk 1**: Unable to verify whether security vulnerabilities are truly fixed
- **Risk 2**: Future changes may reintroduce similar vulnerabilities
- **Risk 3**: Lack of evidence during security audits
**Scope of impact**:
- **Direct impact**: Security verification of MongoDB CDC Connector
- **Indirect impact**: Credibility of SeaTunnel's overall security posture
- **Impact surface**: Single Connector
**Severity**: **Medium**
**Improvement suggestions**:
Add security test cases:
```java
@Test
public void testMaliciousAvroSchemaRejection() {
// Simulate malicious Avro schema
String maliciousSchema = "{\"type\":\"record\",\"name\":\"Exploit\",\"fields\":["
+ "{\"name\":\"cmd\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}]}"
+ "]}";
// Verify correct rejection
assertThrows(SchemaParseException.class, () -> {
AvroSchema.fromJson(maliciousSchema);
});
}
```
**Reasoning**:
- Security fixes require test verification
- Provides regression test protection
- Meets Apache project security standards
---
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org