Hello Pega Community,
We are observing a recurring security warning in our Production environment and would appreciate any insights from the community regarding its cause and recommended resolution.
Environment
- Warning frequency: Approximately 80 occurrences per hour
- Application functionality involved: Document generation / text extraction
- The warning appears to originate from a Pega out-of-the-box activity that is being invoked by our application.
PDC Warning Details
Warning Description
Java code injection detected : Pega RASP has detected a java injection (type warn)
Permission not granted (PROCESS_EXECUTE)
Vulnerable code:
java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java)
Called from:
java.base/java.lang.Runtime.exec(Runtime.java:681)
Stack Trace (Excerpt)
RULE-OBJ-ACTIVITY RULE-FILE-BINARY PYEXTRACTTEXT
Step: 2
doActivity Rule-Obj-Activity: pyExtractText
Call pyExtractText
RULE-OBJ-ACTIVITY VDF-DE-ICPA-WORK-CANCELREISSUE
PROCESSAMENDEDINVOICES
Step: 1_6
30 additional frames in stack
Questions
- Is this a known behavior of the OOTB
pyExtractTextactivity? - What external process or executable is Pega attempting to invoke through
Runtime.exec()? - Is this expected to trigger a Pega RASP “Java Code Injection Detected” warning, or could it indicate a configuration issue?
- Has anyone encountered similar warnings related to
pyExtractTextor document text extraction functionality? - Are there any Pega hotfixes, product updates, or recommended configuration changes to address or suppress these warnings?
- Is there any security concern if the warning originates solely from an OOTB Pega activity?
Any guidance on the root cause, expected behavior, or recommended next steps would be greatly appreciated.
Thank you in advance for your help.