[
https://issues.apache.org/jira/browse/IO-712?focusedWorklogId=544481&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-544481
]
ASF GitHub Bot logged work on IO-712:
-------------------------------------
Author: ASF GitHub Bot
Created on: 29/Jan/21 20:42
Start Date: 29/Jan/21 20:42
Worklog Time Spent: 10m
Work Description: coveralls commented on pull request #197:
URL: https://github.com/apache/commons-io/pull/197#issuecomment-770038726
[](https://coveralls.io/builds/36710086)
Coverage decreased (-0.2%) to 88.897% when pulling
**87035a502b2ce567ffb03422249f2440b6e91c77 on boris-unckel:security_exception**
into **0852cfe3030cc861f0c0988ebc9319c7c787d767 on apache:master**.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 544481)
Time Spent: 20m (was: 10m)
> SecurityExceptions are hidden instead of breaking the regular flow
> ------------------------------------------------------------------
>
> Key: IO-712
> URL: https://issues.apache.org/jira/browse/IO-712
> Project: Commons IO
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.8.0
> Reporter: Boris Unckel
> Priority: Critical
> Labels: Security, SecurityManager
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Several points in the code hide SecurityException. These _must_ always
> _break_ the regular control flow, if you're not the SecurityManager.
> UseCase A: One wants to configure the SecurityManager and grant permissions.
> Part of the application is to delete a file. If the permission is missing,
> cleaning does not work. The missing exception does not allow to recognize
> that.
> UseCase B: One has activated the SecurityManager. An attacker abuses the
> relevant method. The missing SecurityException hides this attempt, ones IDS
> can't alarm.
> UseCase C: One utilizes the SecurityManager to test the system, to ensure
> every property (like file location) is set properly. The missing
> SecurityException does not support this UseCase.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)