GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Fixes after AVSS scanning by FreeAndNil · Pull Request #298 · apache/logging-log4net Conversation
Contributor
Fixes for https://github.com/apache/tooling-agents/blob/main/ASVS/reports/logging-log4net/f57d7b3/issues.md Issue: FINDING-001 - Filter chain modification methods lack synchronization, creating potential race with FilterEvent under active loggingLabels: bug, security, priority:low SummaryThe DetailsCWE: CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization) Data Flow:
Attack Vector: Impact:
RemediationAdd Acceptance Criteria
References
PriorityLow - Requires in-process code with concurrent reconfiguration during active logging. Limited to availability/integrity impact within the logging subsystem. Issue: FINDING-002 - InterProcessLock Mutex Not Released When Underlying File Stream Is NullLabels: bug, security, priority:low SummaryWhen DetailsCWE: CWE-772 (Missing Release of Resource after Effective Lifetime) Data Flow:
Attack Vector: Impact:
RemediationRelease the named Mutex immediately when
Ensure all code paths that acquire the mutex properly release it, even in error conditions. Acceptance Criteria
References
PriorityLow - Requires environmental file system failure. Impact limited to inter-process synchronization and resource exhaustion within logging subsystem. Issue: FINDING-003 - Finalizer path lacks exception protection, risking process terminationLabels: bug, security, priority:low SummaryThe DetailsCWE: CWE-755 (Improper Handling of Exceptional Conditions) Data Flow: Attack Vector: Impact:
Remediation
Acceptance Criteria
References
PriorityLow - Requires specific failure conditions during finalization. However, impact is severe (process termination) when triggered. Recommend prioritizing fix despite low likelihood.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsAdd lock(LockObj) to AddFilter and ClearFilters to synchronize with FilterEvent under concurrent logging (CWE-362). Release acquired mutex and decrement recursiveWatch when stream is null to prevent indefinite blocking of other processes (CWE-772) …termination Wrap Close() in the finalizer with try-catch for non-fatal exceptions and move _isClosed into a finally block to prevent repeated finalization attempts (CWE-755)
FreeAndNil
force-pushed
the
Feature/AVSS-Fixes
branch
from
046332d to
2a0a190
Compare
FreeAndNil
marked this pull request as ready for review
gdziadkiewicz
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
This was referenced
This was referenced
This was referenced
This was referenced
This was referenced
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |