There is no indication that Juniper cooperated with the NSA or acted intentionally to compromise its products.
All software has defects, and if bugs entitled customers to civil damages there would be 0 technology companies left alive. The standard is negligence, but the NSA is sophisticated enough to compromise designs that were not negligent.